Skip to content

Cannot match on title if file extension included #49

@steveroot

Description

@steveroot

match: {{ title == 'filename.pdf' }} fails to match but
match: {{ title == 'filename' }} does match

The clue to me spotting why the full file name did not match was in the logs,
[INFO] [paperless.handlers] Assigning correspondent SupplierX to 2026-01-02T11:07:11+00:00 papertest
see how the filename doesn't have .pdf at the end?

Probably, the guide needs more examples of matches that will work.

I'm not sure I can fit in time to work out the pull request to add to the docs but I'll add it to my to do list
I still haven't figured out how to use a regex on the match criteria and if I do I'll add that here for others.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions