Prior to 2.4 I saved some filters. I noticed with 2.4 they were not returning all expected results. I discovered the saved filter files all have a date in the "date_to" field. I suspect it is the date the filter was saved. I thought I would just resave the filters but every time I save the filter, it copies today's date into the "To Date" field. This is not the end of the world as I can always delete the date each time I use the filter but I wonder if this is a bug or simply user error.
Sun, 2019-11-17 22:36
#1
To_Date in Saved Filter
Hi!
Just made a test with simple filter.
If you wipe out to-date (and from is empty) saved to-date appears to have saving days date anyway.
Problem is not in saving routine but in to-date field. When you leave it (try clean it, then put cursor to other filed like callsign) you see that date is returned.
Same happens when you clear date, then press save filter button.
So this can be counted as bug, but in the other hand we have to have to-date of some kind. Otherwise filter will not work at all.
Thanks for reporting.
I check how to resolve this so that date is not saved (but it must appear at load anyway or at least when OK is pressed, then being current load date if not specified)
--
Saku
OH1KH
Thanks Saku. One possible hint....it worked OK on the previous version so it might help to look what changed with the code related to filters between 2,3 and 2.4. As I said before, this is not a huge problem. I can just delete the date every time I load the filter.
Ricke
AJ8V
Ricke
AJ8V
Hi Ricke!
It was a good point. Calendar picker was not properly handled in filter anyway.Probably still is'nt but propsal code to fix this bug is now in my GitHub
https://github.com/OH1KH/cqrlog/tree/filter_to_date
It still needs some testing before pull request to cqrlog source. If you are able to compile from source you could thest that one.
--
Saku
OH1KH
Sorry but I do not know how to compile from source.
Ricke
AJ8V