mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
Allow shows to be sorted by names
This commit is contained in:
parent
713f3ca96f
commit
2f0e077fa1
@ -81,6 +81,11 @@ export const showFilters: FilterDef = {
|
|||||||
export const showSort = Sort(
|
export const showSort = Sort(
|
||||||
{
|
{
|
||||||
slug: shows.slug,
|
slug: shows.slug,
|
||||||
|
name: {
|
||||||
|
sql: sql.raw(`t.${showTranslations.name.name}`),
|
||||||
|
isNullable: false,
|
||||||
|
accessor: (x) => x.name,
|
||||||
|
},
|
||||||
rating: shows.rating,
|
rating: shows.rating,
|
||||||
airDate: shows.startAir,
|
airDate: shows.startAir,
|
||||||
startAir: shows.startAir,
|
startAir: shows.startAir,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user