mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-09 09:58:20 -05:00
changelog, codestyle
This commit is contained in:
parent
f156f05b37
commit
e1853583b0
@ -13,8 +13,8 @@ paperless-ng 0.9.4
|
|||||||
* Paperless now supports searching by tags, types and dates. In order to have this applied to your
|
* Paperless now supports searching by tags, types and dates. In order to have this applied to your
|
||||||
existing documents, you need to perform a ``document_index reindex`` management command
|
existing documents, you need to perform a ``document_index reindex`` management command
|
||||||
(see :ref:`administration-index`)
|
(see :ref:`administration-index`)
|
||||||
that adds tags to your search index. You only need to do this once, so that paperless can find
|
that adds the new data to the search index. You only need to do this once, so that paperless can find
|
||||||
your documents by tags,types and dates. Paperless keeps your index updated after that whenever
|
your documents by tags,types and dates. Paperless keeps the index updated after that whenever
|
||||||
something changes.
|
something changes.
|
||||||
* Paperless now has spelling corrections ("Did you mean") for misstyped queries.
|
* Paperless now has spelling corrections ("Did you mean") for misstyped queries.
|
||||||
* The documentation contains :ref:`information about the query syntax <basic-searching>`.
|
* The documentation contains :ref:`information about the query syntax <basic-searching>`.
|
||||||
|
@ -217,7 +217,7 @@ class SearchView(APIView):
|
|||||||
}
|
}
|
||||||
|
|
||||||
def get(self, request, format=None):
|
def get(self, request, format=None):
|
||||||
if not 'query' in request.query_params:
|
if 'query' not in request.query_params:
|
||||||
return Response({
|
return Response({
|
||||||
'count': 0,
|
'count': 0,
|
||||||
'page': 0,
|
'page': 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user