Skip to content

Commit

Permalink
Fix 'autofilter' url paramter with postgis no primary key data (#1036)
Browse files Browse the repository at this point in the history
* Ste 'server fids' with 'autofilter' url options

* Typo
  • Loading branch information
wlorenzetti authored Feb 12, 2025
1 parent 24c6c6a commit beaa01a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion g3w-admin/core/api/base/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ def response_data_mode(self, request, export_features=False):
qgis_feature_request = QgsFeatureRequest(qgis_feature_request)
qgis_feature_request.setLimit(-1)

self.total_feature_ids = [str(f.id()) for f in get_qgis_features(
self.total_feature_ids = [str(server_fid(f, provider)) for f in get_qgis_features(
self.metadata_layer.qgis_layer, qgis_feature_request, **kwargs)]


Expand Down

0 comments on commit beaa01a

Please sign in to comment.