[PR #2482] Fix/sort by name case insensitive #2125

Open
opened 2026-03-02 12:00:40 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/karakeep-app/karakeep/pull/2482
Author: @BasavarajBankolli
Created: 2/13/2026
Status: 🔄 Open

Base: mainHead: fix/sort-by-name-case-insensitive


📝 Commits (3)

  • b5aeaf9 Fix tablet rotation to default
  • 65f8984 fix: make sort by name case-insensitive
  • 0d3c0e2 fix: make sort by name case-insensitive

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 packages/trpc/models/tags.ts (+1 -1)

📄 Description

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.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/karakeep-app/karakeep/pull/2482 **Author:** [@BasavarajBankolli](https://github.com/BasavarajBankolli) **Created:** 2/13/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/sort-by-name-case-insensitive` --- ### 📝 Commits (3) - [`b5aeaf9`](https://github.com/karakeep-app/karakeep/commit/b5aeaf900fefd635d98120d68c5a6eae49bd76ea) Fix tablet rotation to default - [`65f8984`](https://github.com/karakeep-app/karakeep/commit/65f8984e3f33cdae576c17108b80d12983427412) fix: make sort by name case-insensitive - [`0d3c0e2`](https://github.com/karakeep-app/karakeep/commit/0d3c0e284290f6ea71948e52fa8a6b0db7ccced2) fix: make sort by name case-insensitive ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/trpc/models/tags.ts` (+1 -1) </details> ### 📄 Description 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#2125
No description provided.