Skip to content

Commit

Permalink
Fixes #330
Browse files Browse the repository at this point in the history
  • Loading branch information
capooti committed Apr 11, 2018
1 parent 19c3f38 commit 2088182
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions geonode/contrib/worldmap/wm_extra/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ def get_layer_attributes(layer):
if hasattr(la, 'extlayerattribute'):
searchable = la.extlayerattribute.searchable
attribute_fields.append({"id": la.attribute,
"header": la.attribute_label,
"header": la.attribute,
"searchable" : searchable
})
return attribute_fields
Expand Down Expand Up @@ -940,7 +940,7 @@ def snaplayer_config(layer, sources, user, access_token):
access_token) for l in maplayers]
else:
config = map_obj.viewer_json(user, access_token)
print config

return config


Expand Down

0 comments on commit 2088182

Please sign in to comment.