Skip to content

Commit

Permalink
Set to true not_show_attributes_table layers property (#966)
Browse files Browse the repository at this point in the history
Co-authored-by: wlorenzetti <[email protected]>
  • Loading branch information
wlorenzetti and wlorenzetti authored Oct 29, 2024
1 parent f27d286 commit 4a93ade
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions g3w-admin/qdjango/api/projects/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -886,6 +886,9 @@ def to_representation(self, instance):
except Exception as e:
logger.debug(f'WMS layer GetFeatureInfo formats available: {e}')

# Remove possibility to show attributes table for WMS and ARCGIS server type
ret['not_show_attributes_table'] = True



# replace crs property if is not none with dict structure
Expand Down

0 comments on commit 4a93ade

Please sign in to comment.