Skip to content

[Bug]: All years not displayed at first when choosing in date selector (filter layer) #6548

@jeremieprudhomme

Description

@jeremieprudhomme

What is the bug? (in English)

When choosing a year in the date selector for a date filter, only some years are available to choose for the user (10 first values ?).
When selecting a year in the given values, then other values are displayed.

Image

Steps to reproduce the issue

  1. Add a filter on a layer in lizmap QGIS plugin, with a date field and a date filter.
  2. In lwc, click on the filter menu, click on the date filter to open the calendar and click on the year part
  3. Notice that only some years are available, choose one.
  4. Click again on the year part and notice other years are avalable.

Versions, safeguards, check summary etc

Versions :

  • Lizmap Web Client : 3.9.5 - commit dfcab68 dfcab6880
  • Lizmap plugin : 4.5.7
  • QGIS Desktop : 3.40.14
  • Lizmap.com : Yes
  • QGIS Server : 3.40.15
  • Py-QGIS-Server : 1.9.6
  • QGIS Server plugin atlasprint : 3.4.3
  • QGIS Server plugin cadastre : 2.2.5
  • QGIS Server plugin lizmap_server : 2.14.1
  • QGIS Server plugin wfsOutputExtension : 1.8.3
List of Lizmap Web Client modules :
* dynamicLayers : None * saas : 1.7.7 * webdav : 1.2.1
List of safeguards :
* Mode : safe
* Allow parent folder : no
* Prevent other drive : yes
* Prevent PG service : yes
* Prevent PG Auth DB : yes
* Force PG user&pass : yes
* Prevent ECW : yes

Check Lizmap plugin

  • I have done the step just before in the Lizmap QGIS desktop plugin before opening this ticket. Otherwise, my ticket is not considered valid and might get closed.

Operating system

Windows 10

Browsers

Firefox, Chrome

Browsers version

Firefox 147.0.3, Chrome 144.0.7559.133

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions