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
257 stars 144 forks source link

[Bug]: filter don't filter shape in Lizmap 3.6.7 #3948

Closed Crapaud04 closed 11 months ago

Crapaud04 commented 11 months ago

What is the bug?

Hello, After the version upgrade, the filter panel no longer works. We choose the layer then the filter but nothing changes on the map or in the display of the data table.

The count is correct. I did not modify any parameters in our version release.

image

https://www.opensis.fr/04/index.php/view/map?repository=deci&project=deci

Mais sur le projet démo de Cartophyl pas de problème https://cartophyl.lizmap.com/demo/index.php/view/map?repository=cartophyl&project=street_art_pap

Steps to reproduce the issue

  1. select shape
  2. select filter
  3. nothing is happening except object count.

Versions

Versions :

Check Lizmap plugin

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

3.28.11

Operating system

Serveur Valabre

Browsers

Firefox, Chrome

Browsers version

Firevox 119 chrome 118

Relevant log output

No response

Crapaud04 commented 11 months ago

Following problem with version upgrade of the plugin or Qgis which did not detect the correct primary key. (alias - field name)

Gustry commented 11 months ago

The plugin is warning these issues, in the "Log" panel, when saving the CFG file, right ?

Crapaud04 commented 11 months ago

No message in "Log" panel Cfg : image Plugin (Table attributaire) : image Log panel : image

Gustry commented 11 months ago

Ok, but this is different. The missing icon the plugin (screenshot above Plugin (Table attributaire) :) indicates that the field doesn't exist anymore in your layer. Otherwise, you should have the icon of the field displayed (integer, text, float etc), so you must review the configuration. THis will be a little bit different in the next version of the plugin hopefully

Crapaud04 commented 11 months ago

Ok i see icon. image

But it's strange the link between form and table.