Skip to content

Conversation

@mschmalz
Copy link

@mschmalz mschmalz commented Jan 8, 2026

Fixes #257

Problem

Email archive doesn't keep the selected sorting order when navigating through the result pages. It swiches back to the default sorting order (DATE descending) after each page navigation.

Solution

In the pagination item links the missing properties SortBy and SortOrder were added.

Testing

  • Tested using Docker (fork build)
  • Added mail account and started sync (needs to archive more than 20 mails)
  • Opened Archive view
  • Double click on DATE column (changes sort order to "ascending")
  • Clicked on "Next" page button
  • The result was sorted by DATE ascending (as expected)
  • Changed sort order by SUBJECT
  • Clicked on "Next" page button
  • The result was still by SUBJECT (as expected)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Email archive doesn't keep sorting order

1 participant