Author Topic: Sort message list from client side  (Read 1226 times)

Offline tco942

  • Newbie
  • *
  • Posts: 1
Sort message list from client side
« on: December 02, 2020, 06:17:30 AM »

I'm developing a plugin that adds columns into the message list. The content is based on mail's headers. The header is complex, and must be decoded & parsed ; only then information is displayed in columns. My columns are added as in the authres_status plugin, i.e. I have 'message_list' hook  appending my columns and its computed data into list_cols attribute, for each message.

I would like to  be able to sort messages based on this column. However, it seems the sorting job is done by the IMAP server. As the decode/parsing step cannot be done on the IMAP server, is there any way to sort column from roundcube side ?

Thanks ;