You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.
The API request sent to paperless is e.g. GET /api/documents/?correspondent__slug_0=lemontorge&correspondent__slug_1=contains&tags__slug_1=contains&ordering=-modified&page=1
When I try the above command in the browser API in paperless I also get a list of all documents.
Not sure if this is a paperless or a paperless-desktop problem?
Either way, many thanks to the developers of both projects!
The text was updated successfully, but these errors were encountered:
Hm, I see that this might have to do with a changed django-filter API mentioned here: the-paperless-project/paperless#412
Seems like the API request needs to be something like api/documents/?correspondent__slug__contains=lemontorge now, at least this works in the paperless browser API and a quick change in paperless-desktop revives the filter functionality...
I guess a clean fix would need to check paperless' version and adapt to it?
While reading the first lines of your comment I thought: "It would be awesome to retrieve the version number of Paperless, otherwise we'll eventually loose backwards compatibility".
I could imagine a dedicated endpoint in paperless that responds with a version number, or sending the version number as an HTTP header in response to every request. That way Paperless Desktop could initially perform a GET on any ressource of Paperless and determine the version number and if none is returned assume a version number lower than X. Where X is the point in time that the version number retrieval was implemented.
Expected Behavior
... to see only documents matching the correspondent when selecting one in the document view in the menu on the left
Actual Behavior
... seeing all documents (unfiltered)
Steps to Reproduce the Problem
click on a correspondent to select it
Specifications
More info
GET /api/documents/?correspondent__slug_0=lemontorge&correspondent__slug_1=contains&tags__slug_1=contains&ordering=-modified&page=1
Not sure if this is a paperless or a paperless-desktop problem?
Either way, many thanks to the developers of both projects!
The text was updated successfully, but these errors were encountered: