Skip to content
Permalink
Browse files
[Server] QgsServerFeatureId use STRING_TO_FID instead of toLongLong
As in ohter part of the QGIS Server code, to insert into a QgsFeatureIds list, using STRING_TOFID instead of toLongLong.
  • Loading branch information
rldhont committed Apr 12, 2021
1 parent 17084b8 commit e61d4c576553fd02c03f15a4a18218bc53e58b81
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/qgsserverfeatureid.cpp
@@ -45,7 +45,7 @@ QgsFeatureRequest QgsServerFeatureId::updateFeatureRequestFromServerFids( QgsFea
QgsFeatureIds fids;
for ( const QString &serverFid : serverFids )
{
fids.insert( serverFid.toLongLong() );
fids.insert( STRING_TO_FID( serverFid ) );
}
featureRequest.setFilterFids( fids );
return featureRequest;

0 comments on commit e61d4c5

Please sign in to comment.