mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 23:35:22 +01:00
Merge branch 'dev' into feature-ocrmypdf
This commit is contained in:
commit
6388d19f7a
12 changed files with 213 additions and 26 deletions
|
|
@ -243,6 +243,9 @@ class SearchView(APIView):
|
|||
except (ValueError, TypeError):
|
||||
page = 1
|
||||
|
||||
if page < 1:
|
||||
page = 1
|
||||
|
||||
with index.query_page(self.ix, query, page) as result_page:
|
||||
return Response(
|
||||
{'count': len(result_page),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue