mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-07 10:14:13 -04:00
Returning shows in a sorted way
This commit is contained in:
parent
b79ed8a198
commit
ec74c8ef0f
@ -62,7 +62,8 @@ namespace Kyoo.Controllers
|
||||
|
||||
public IEnumerable<Show> GetShows()
|
||||
{
|
||||
return _database.LibraryLinks.AsEnumerable().Select(x => x.Show ?? x.Collection.AsShow());
|
||||
return _database.LibraryLinks.AsEnumerable().Select(x => x.Show ?? x.Collection.AsShow())
|
||||
.OrderBy(x => x.Title);
|
||||
}
|
||||
|
||||
public IEnumerable<Show> GetShows(string searchQuery)
|
||||
|
Loading…
x
Reference in New Issue
Block a user