mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 08:15:27 +01:00
frontend support for fulltext sorting
This commit is contained in:
parent
f3703fc6e3
commit
96f4924911
5 changed files with 56 additions and 8 deletions
|
|
@ -23,6 +23,11 @@ export const DOCUMENT_SORT_FIELDS = [
|
|||
{ field: 'modified', name: $localize`Modified` }
|
||||
]
|
||||
|
||||
export const DOCUMENT_SORT_FIELDS_FULLTEXT = [
|
||||
...DOCUMENT_SORT_FIELDS,
|
||||
{ field: 'score', name: $localize`:Score is a value returned by the full text search engine and specifies how well a result matches the given query:Search score` }
|
||||
]
|
||||
|
||||
export interface SelectionDataItem {
|
||||
id: number
|
||||
document_count: number
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue