Skip to content

Commit

Permalink
Fixes layers duplication introduced with a snapshot. Refs #4046
Browse files Browse the repository at this point in the history
  • Loading branch information
capooti committed Oct 31, 2018
1 parent cc94e82 commit d5ec8c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions geonode/contrib/worldmap/wm_extra/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,9 @@ def gxp2wm(config, map_obj=None):
config = json.loads(config)
config_is_string = True

if map_obj:
config['id'] = map_obj.id

topics = TopicCategory.objects.all()
topicArray = []
for topic in topics:
Expand Down

0 comments on commit d5ec8c7

Please sign in to comment.