mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-15 11:07:00 +01:00
Add an option to disable matching
This commit is contained in:
parent
ca30dbc832
commit
8b2b7bbe6d
7 changed files with 108 additions and 5 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import { ObjectWithPermissions } from './object-with-permissions'
|
||||
|
||||
export const MATCH_NONE = 0
|
||||
export const MATCH_ANY = 1
|
||||
export const MATCH_ALL = 2
|
||||
export const MATCH_LITERAL = 3
|
||||
|
|
@ -9,6 +10,11 @@ export const MATCH_AUTO = 6
|
|||
export const DEFAULT_MATCHING_ALGORITHM = MATCH_AUTO
|
||||
|
||||
export const MATCHING_ALGORITHMS = [
|
||||
{
|
||||
id: MATCH_NONE,
|
||||
shortName: $localize`None`,
|
||||
name: $localize`None: Disable matching`,
|
||||
},
|
||||
{
|
||||
id: MATCH_ANY,
|
||||
shortName: $localize`Any word`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue