3liz / lizmap-web-client

Transfer a QGIS project on a server, Lizmap is providing the web interface to browse it
https://www.lizmap.com
Mozilla Public License 2.0
252 stars 141 forks source link

[Question]: max date in a date filter #3056

Closed sigsdis30 closed 1 year ago

sigsdis30 commented 2 years ago

What is the question?

I configured a filter by date with the same column as start date and end date. In the web map, the min and max values of this column are correctly retrieved. From what I see, to filter out a particular day, you have to put that day as the start date and the next one as the end date. For example, to filter only 06/14/2022: start date = 06/14/2022 and end date = 06/15/2022. So I assume that the filter considers the timestamp 04/14/2022 00:00:00 and 04/15/2022 00:00:00. It is therefore impossible to filter only the last day, corresponding to the max of the date column, because we cannot choose the following day as the end day. Is this a limitation or misuse on my part?

Versions

QGIS server version, only if the section above doesn't mention the QGIS Server version

3.22.4

Operating system

Windows 10

Browsers

Chrome

Browsers version

102.0.5005.63

Relevant log output

No response

3liz-bot commented 1 year ago

Hiya! This issue has gone quiet. 👻 We get a few questions in the bug tracker, so we currently slowly closing issues. If we missed this issue or if you want to keep it open, please reply here. As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Thanks for being a part of the Lizmap community! 🦎