Skip to content

Commit

Permalink
Merge pull request #6439 from pblottiere/bugfix_server_selection
Browse files Browse the repository at this point in the history
[server] Fixes issue when selecting multiple ids
  • Loading branch information
pblottiere committed Feb 23, 2018
2 parents c1ef8f0 + 46eb6e3 commit 2de99fb
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/server/services/wms/qgswmsparameters.cpp
Expand Up @@ -1658,7 +1658,7 @@ namespace QgsWms

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

QStringList QgsWmsParameters::opacities() const
Expand Down
2 changes: 1 addition & 1 deletion tests/src/python/test_qgsserver_wms_getmap.py
Expand Up @@ -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))
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2de99fb

Please sign in to comment.