feat: Add support for ascending and descending options in sort (#8542)

This commit is contained in:
Pranav Raj S
2023-12-12 17:15:48 -08:00
committed by GitHub
parent d28f512de4
commit 8c9a351c84
4 changed files with 118 additions and 83 deletions

View File

@@ -64,6 +64,6 @@ class Conversations::FilterService < FilterService
end
def conversations
@conversations.latest.page(current_page)
@conversations.sort_on_last_activity_at.page(current_page)
end
end