Skip to content
Permalink
Browse files

Merge pull request #6439 from pblottiere/bugfix_server_selection

[server] Fixes issue when selecting multiple ids
  • Loading branch information
pblottiere committed Feb 23, 2018
2 parents c1ef8f0 + 46eb6e3 commit 2de99fbfc481cfda0b2458e8d541d3e6f7cb5eef
@@ -1658,7 +1658,7 @@ namespace QgsWms

QStringList QgsWmsParameters::selections() const
{
return toStringList( ParameterName::SELECTION );
return toStringList( ParameterName::SELECTION, ';' );
}

QStringList QgsWmsParameters::opacities() const
@@ -750,7 +750,7 @@ def test_wms_getmap_selection(self):
"HEIGHT": "500",
"WIDTH": "500",
"SRS": "EPSG:3857",
"SELECTION": "Country: 4"
"SELECTION": "Country: 4,1;Hello: 2,5"
}.items())])

r, h = self._result(self._execute_request(qs))
Binary file not shown.
Binary file not shown.

0 comments on commit 2de99fb

Please sign in to comment.
You can’t perform that action at this time.