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
254 stars 143 forks source link

[Bug]: Display more than 10 children not working #3463

Closed Cww7 closed 1 year ago

Cww7 commented 1 year ago

What is the bug?

I would like to display more than 10 chidren in a table with a relation, so i increase to 20 "max features in popup" in the lizmap plugin. But nothing changes in lizmap, there is always only 10 childs displayed. I also tried to decrease in order to display only one child, but lizmap still displays 10 children...

I looked into the .cfg config file and I noticed that the "popupMaxFeatures" parameter is set to 20 for the parent table like I checked in the plugin. But if I change manually this parameter for the children table, it works in Lizmap.

Wouldn't there be a parameter assignment bug between parent table and children table ?

Steps to reproduce the issue

  1. Create a relation between 2 tables
  2. In the lizmap plugin, display popup for the 2 tables
  3. Check "Display children"
  4. change "max features in popup" value
  5. On lizmap webclient, there is no effect

Versions

Versions :

Check Lizmap plugin

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

No response

Operating system

Debian 10

Browsers

Chrome

Browsers version

Version 109

Relevant log output

No response

Gustry commented 1 year ago

The newest version of the Lizmap desktop plugin released this morning reverted this UI change. This spinbox was for the total number of features (parents) in the popup dock.

Version 3.10.1

So I guess the problem is solved, because you can now change it in the children layer directly ?

Cww7 commented 1 year ago

Yes I can see all my children now ! Great !! 👍