mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-16 00:05:45 -04:00
Server: fix bug with multiple joins
This commit is contained in:
parent
5d15a074ea
commit
b83b59dc77
@ -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" );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user