mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 14:55:07 +01:00
fix some issues with the search index
This commit is contained in:
parent
1fbd3935ea
commit
1dbd7b9bb4
1 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,7 @@ def get_schema():
|
||||||
sortable=True
|
sortable=True
|
||||||
),
|
),
|
||||||
content=TEXT(),
|
content=TEXT(),
|
||||||
archive_serial_number=NUMERIC(
|
asn=NUMERIC(
|
||||||
sortable=True
|
sortable=True
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
@ -122,7 +122,7 @@ def update_document(writer, doc):
|
||||||
has_type=doc.document_type is not None,
|
has_type=doc.document_type is not None,
|
||||||
created=doc.created,
|
created=doc.created,
|
||||||
added=doc.added,
|
added=doc.added,
|
||||||
archive_serial_number=doc.archive_serial_number,
|
asn=doc.archive_serial_number,
|
||||||
modified=doc.modified,
|
modified=doc.modified,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue