mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #2478] [MERGED] Fix ordering of search results #9127
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/2478
Author: @JustAMan
Created: 2/28/2020
Status: ✅ Merged
Merged: 3/22/2020
Merged by: @dkanada
Base:
master← Head:fix-search-order📝 Commits (2)
a9f3b5dFix ordering of search results7270997add code suggestions📊 Changes
1 file changed (+19 additions, -18 deletions)
View changed files
📝
Emby.Server.Implementations/Data/SqliteItemRepository.cs(+19 -18)📄 Description
Changes
Try to make search make more sense. At least make it so items which names start with what you searched for are in the front of the list.
It also sorts by
SortNamecolumn, which implementations for audio and episodes are questionable for search, but it's still better than current situation, where search results would end up being in undefined (DB-dependent) order.Issues
Not sure, maybe there are some.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.