Skip to content
Permalink
Browse files

[BUGFIX][QGIS Server] Revert layer order in WMS GetContext request

  • Loading branch information
rldhont committed Nov 8, 2016
1 parent 846eef2 commit ea529c50d6d319fac75266a4fcf501fa542490ff
Showing with 8 additions and 1 deletion.
  1. +8 −1 src/server/qgswmsprojectparser.cpp
@@ -1768,7 +1768,14 @@ void QgsWMSProjectParser::addOWSLayers( QDomDocument &doc,
layerElem.appendChild( metaUrlElem );
}

parentElem.appendChild( layerElem );
if ( parentElem.hasChildNodes() )
{
parentElem.insertBefore( layerElem, parentElem.firstChild() );
}
else
{
parentElem.appendChild( layerElem );
}
}
else
{

0 comments on commit ea529c5

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