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.

(cherry picked from commit e61d4c5)
  • Loading branch information
rldhont authored and nyalldawson committed May 15, 2021
1 parent 0471743 commit f92f47bce2ec755bddde3fb0ce8c11a179c452a5
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 f92f47b

Please sign in to comment.