mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-23 15:30:34 -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()
|
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)
|
public IEnumerable<Show> GetShows(string searchQuery)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user