Server: fix bug with multiple joins

This commit is contained in:
Marco Hugentobler 2015-03-05 17:24:02 +01:00
parent 5d15a074ea
commit b83b59dc77

View File

@ -1349,11 +1349,6 @@ void QgsServerProjectParser::addJoinLayersForElement( const QDomElement& layerEl
} }
QDomNodeList joinNodeList = vectorJoinsElem.elementsByTagName( "join" ); QDomNodeList joinNodeList = vectorJoinsElem.elementsByTagName( "join" );
if ( joinNodeList.size() > 1 )
{
return;
}
for ( int i = 0; i < joinNodeList.size(); ++i ) for ( int i = 0; i < joinNodeList.size(); ++i )
{ {
QString id = joinNodeList.at( i ).toElement().attribute( "joinLayerId" ); QString id = joinNodeList.at( i ).toElement().attribute( "joinLayerId" );