mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
fix some issues with the search index
This commit is contained in:
parent
1fbd3935ea
commit
1dbd7b9bb4
@ -29,7 +29,7 @@ def get_schema():
|
||||
sortable=True
|
||||
),
|
||||
content=TEXT(),
|
||||
archive_serial_number=NUMERIC(
|
||||
asn=NUMERIC(
|
||||
sortable=True
|
||||
),
|
||||
|
||||
@ -122,7 +122,7 @@ def update_document(writer, doc):
|
||||
has_type=doc.document_type is not None,
|
||||
created=doc.created,
|
||||
added=doc.added,
|
||||
archive_serial_number=doc.archive_serial_number,
|
||||
asn=doc.archive_serial_number,
|
||||
modified=doc.modified,
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user