docspell icon indicating copy to clipboard operation
docspell copied to clipboard

Problems with filtering by date

Open JaCoB1123 opened this issue 3 years ago • 1 comments

Hi eikek,

I found a small issue: When I know the exact date of some item and filter e.g. from=2022-05-27 and to=2022-05-27 I get no results. It seems to is < while from is >=.

Also I seemingly can't paste into the datetime boxes. When the textbox loses focus it's cleared. The filter seems to keep applied at least partially though as the document count does update.

I'm still amazed by docspell and the latest features make it even more usable (e.g. the new dashboard).

JaCoB1123 avatar Aug 06 '22 12:08 JaCoB1123

Hi @JaCoB1123 ,

the first observation is intended so far: start date is inclusive and end date is exclusive. For a single day you can try with from=2022-05-27 and to=2022-05-28.

The second point is true sadly. If you paste a date and press "enter", the date is applied. But as soon as the field looses focus it is reset. I also noticed that if the field is set to a date, this date is not used to initialize the picker - it always is presenting the current date. I need to see what I can do to improve this. Thanks for reporting!

eikek avatar Aug 06 '22 21:08 eikek