Update document-list-view.service.ts

This commit is contained in:
shamoon 2025-02-15 21:40:33 -08:00 committed by GitHub
parent f2b4a7f784
commit caf721933b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -307,7 +307,7 @@ export class DocumentListViewService {
activeListViewState.currentPage = 1
this.reload()
} else if (
activeListViewState.sortField.indexOf('custom_field') === 0 &&
activeListViewState.sortField.indexOf('custom_field') === 0 &&
this.settings.allDisplayFields.find(
(f) => f.id === activeListViewState.sortField
) === undefined