diff --git a/app/src/composables/use-collection/use-collection.ts b/app/src/composables/use-collection/use-collection.ts index 3c3089a4cf..99c371f2a6 100644 --- a/app/src/composables/use-collection/use-collection.ts +++ b/app/src/composables/use-collection/use-collection.ts @@ -33,7 +33,7 @@ export function useCollection(collectionKey: string | Ref) { }); const sortField = computed(() => { - return fields.value?.find((field) => field.meta?.special === 'sort') || null; + return info.value?.meta?.sort_field || null; }); type Status = {