Fix/sort by name case insensitive#2482
Fix/sort by name case insensitive#2482BasavarajBankolli wants to merge 3 commits intokarakeep-app:mainfrom
Conversation
WalkthroughModified the sorting logic in Tag.getAll to perform case-insensitive sorting of tag names by converting names to lowercase before applying ascending order, replacing the previous case-sensitive sort on the name field. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 6✅ Passed checks (6 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. No actionable comments were generated in the recent review. 🎉 Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Greptile OverviewGreptile SummaryUpdated tag name sorting to be case-insensitive by applying SQL
Confidence Score: 5/5
Important Files Changed
Last reviewed commit: 0d3c0e2 |
Fix: Make tag name sorting case-insensitive
Description
fixes: #2477
This PR fixes an issue where sorting tags by name was case-sensitive, causing tags with capital letters to appear before lowercase ones (e.g. Contribution appearing before ansible).
The sorting logic has been updated to perform a case-insensitive comparison at the query level, ensuring a more natural and user-friendly alphabetical order.