K Gopal Krishna
2025-04-04 685c06ce2e7c559b4e2cc544e300c1262c739b1c
refs
author K Gopal Krishna <30401343+kayg04@users.noreply.github.com>
Friday, April 4, 2025 17:36 +0000
committer GitHub <noreply@github.com>
Friday, April 4, 2025 17:36 +0000
commit685c06ce2e7c559b4e2cc544e300c1262c739b1c
tree 13f1011af49081450c2cbc458ed932b0e7db0449 tree | zip | gz
parent 3ae89a1d16b4cdd642cac8bf080cfe952c93e278 view | diff
fix(RecentNotes): Prevent folder pages from always appearing first (closes #1901) (#1904)

* Fix(RecentNotes): Prevent folder pages from always appearing first

Pass prioritizeFolders=false to byDateAndAlphabetical in RecentNotes to sort strictly by date/alphabetical order, fixing issue #1901.

* refactor: split sorting functions for clarity

- Split byDateAndAlphabetical into two separate functions\n- byDateAndAlphabetical: sorts strictly by date and alphabetically\n- byDateAndAlphabeticalFolderFirst: sorts with folders first\n- Updated RecentNotes to use date-only sorting

* Fix(PageList): keep byDateAndAlphabeticalFolderFirst as the default sorting order for PageList
1 files modified
22 ■■■■■ changed files
quartz/components/PageList.tsx 22 ●●●●● diff | view | raw | blame | history