lizmap-web-client icon indicating copy to clipboard operation
lizmap-web-client copied to clipboard

tooltip - field with null values

Open josemvm opened this issue 5 years ago • 8 comments

hi

the fields with null values shows null

the field name should not be shown if the field has a null value

imagem

thanks

  • Lizmap version: 3.3.6-pre and master
  • QGIS Server version: 2.18 and 3.4

thanks

josemvm avatar May 27 '20 11:05 josemvm

Interesting I was actually asking myself if it was by design not showing the fields with an empty value. It is expected then?

gioman avatar May 27 '20 14:05 gioman

Some people might want to always display null (because they want all fields to be set) and some others don't want.

Gustry avatar May 28 '20 07:05 Gustry

@Gustry maybe to have an option in the plugin... (?)

josemvm avatar May 28 '20 08:05 josemvm

This seems also to apply to the identify pop-up.

gioman avatar May 28 '20 08:05 gioman

I think it's very good that empty fields (if possible also the null values) are not displayed (I had wished for a long time)

Of course, only with the WMS properties, with WFS they should be displayed, because they may have to be edited.

A corresponding option would of course be even better

guenterw avatar Jun 14 '20 09:06 guenterw

In version 3.3.11 (with QGIS server 2.18.28) the empty attribute data (NULL, "") are not shown in the info window: grafik

In version 3.3.15 (with QGIS server 2.18.28) they are listed: grafik

Is this intentional in 3.3.15 or a bug?

Is there anywhere to set this? I would prefer the variant of 3.3.11, or the possibility of setting.

guenterw avatar May 07 '21 06:05 guenterw

maybe to have an option in the plugin...

@Gustry what do you thing about it?

josemvm avatar Jun 11 '22 17:06 josemvm

Yes, it would be a nice idea, similar to #2981 and #1632

Gustry avatar Jun 13 '22 05:06 Gustry