mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
This commit fixes an issue where when you click on the sort button of a table twice, reversing stops. The problem is we are checking the truthness of meta.sorting_function instead of just the function argument sorting_function. This commit extract the reverse operation out of sort() to unclutter the logic.
15 KiB
15 KiB