Skip to content

QGIS search displays empty results when QGIS layer defines an expression as Display Name #578

Description

@tmuguet

Hi,

The QGIS search displays features with empty labels when QGIS layer uses an expression as Display Name:

Image

Here's the expression I'm using in QGIS layer:

Image

The search query to the feature info service sets with_maptip to false, which leads to feature info service / QGIS Server not outputting the maptip attribute in the response.

Fix suggestion

QgisSearch requests GetFeatureInfo with WITH_MAPTIP to false :

WITH_MAPTIP: false,
. It should be true.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions