Skip to content

[Bug]: Columns order (from "organize table columns") is ignored in popup #3694

@gioman

Description

@gioman

What is the bug?

If you (re)organize the order of the columns for a table in QGIS, then LMWC correctly uses the new order when displaying the table, but ignores the new order in the pop-up.

Another angle: QGIS D&D form pop-up documentation

https://docs.lizmap.com/current/en/publish/configuration/popup.html#qgis-drag-drop-form-popup

let assume that one could use the D&D designer to just re-organize the columns order (because the D&D designer allows to do that, in its simplest usage, so no tabs, just the column list), but point is that choosing the QGIS D&D form popup option in LM plugin seems to have only effect on editable layers, but that is not specified in docs.

Another problem with the D&D form popup option in not editable layers is that it still shows columns that were not added in the D&D form.

Steps to reproduce the issue

See above.

Versions

Latest LMWC, Latest LM plugin, Latest LM Server plugin.

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.

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

3.28

Operating system

Ubuntu 22.04, desktop and server

Browsers

Firefox, Chrome

Browsers version

Latest

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions