paperless icon indicating copy to clipboard operation
paperless copied to clipboard

Add insensitive search for documents

Open CkuT opened this issue 5 years ago • 2 comments

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 !

CkuT avatar Jun 01 '19 13:06 CkuT

I think the search by tag or correspondant is now broken if there are any accents. The PR is still in WIP.

CkuT avatar Jun 01 '19 15:06 CkuT

Hey ! Does someone have any time to review this ? :)

CkuT avatar Feb 09 '20 17:02 CkuT