mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-06-08 06:58:38 +01:00
Merge pull request #85 from yihaolee85/master
Update [collectionId].tsx to fix sort order
This commit is contained in:
@@ -59,14 +59,14 @@ const page: React.FC = () => {
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
setSortBy([
|
setSortBy([
|
||||||
{
|
{
|
||||||
key: "ProductionYear",
|
key: "PremiereDate",
|
||||||
value: "Production Year",
|
value: "Premiere Date",
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
setSortOrder([
|
setSortOrder([
|
||||||
{
|
{
|
||||||
key: "Descending",
|
key: "Ascending",
|
||||||
value: "Descending",
|
value: "Ascending",
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
}, []);
|
}, []);
|
||||||
|
|||||||
Reference in New Issue
Block a user