paperless
paperless copied to clipboard
Add insensitive search for documents
This PR adds an insensitive-search on document title and content. This should close #115.
As it was pointed out by @danielquinn, str.casefold()
is a good start, but not enough: it does not remove accents. For the latter, we need a NFKD
unicode normalization (see https://unicode.org/reports/tr15/).
I'm open to any improvements !
I think the search by tag or correspondant is now broken if there are any accents. The PR is still in WIP.
Hey ! Does someone have any time to review this ? :)