Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Tag argument is ignored when running paperlessngx_postprocessor.py #31

Open
MephistoJB opened this issue Dec 29, 2024 · 0 comments

Comments

@MephistoJB
Copy link

According to your documentation, running paperlessngx_postprocessor.py with the --tag Selector enables the preselection of the documents which will be processed.

This does not seem to work.

when looking into your code the filter method accepts the tag as an input, but does not process it

def get_documents_by_field_names(self, **fields): allowed_fields = {"correspondent": "correspondent__name__iexact", "document_type": "document_type__name__iexact", "storage_path": "storage_path__name__iexact", "added_year": "added__year", "added_month": "added__month", "added_day": "added_day", "asn": "archive_serial_number", "title": "title__iexact", "created_year": "created__year", "created_month": "created__month", "created_day": "created__day", }

I think here is something missing, but I could be wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant