Skip to content
Permalink
Browse files

Fix QGIS server for PyQgsServerAccessControl

  • Loading branch information
rldhont committed Oct 7, 2016
1 parent 8b6e544 commit f42b55461b4d0ce9e93cba1ba566738d41cc7415
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/server/qgsserverprojectparser.cpp
@@ -240,7 +240,10 @@ QgsMapLayer* QgsServerProjectParser::createLayerFromElement( const QDomElement&
{
addValueRelationLayersForLayer( dynamic_cast<QgsVectorLayer *>( layer ) );
// Reload joins and expression fields
QgsVectorLayer* vlayer = dynamic_cast<QgsVectorLayer *>( layer );
QString subsetString = vlayer->subsetString();
layer->readLayerXML( const_cast<QDomElement&>( elem ) );
vlayer->setSubsetString( subsetString );
}
return layer;
}

0 comments on commit f42b554

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