diff options
-rw-r--r-- | chimere/views.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chimere/views.py b/chimere/views.py index 997079f..c6372db 100644 --- a/chimere/views.py +++ b/chimere/views.py @@ -24,6 +24,7 @@ Views of the project """ +import copy import datetime from itertools import groupby import re @@ -669,7 +670,7 @@ def getGeoObjects(request, map_name, category_ids, status): } for values in query.filter(categories__pk=category_id).values( 'point', 'pk', 'name', 'weight'): - jsons.append(Marker._getJson(values, base_dct.copy())) + jsons.append(Marker._getJson(values, copy.deepcopy(base_dct))) if not jsons: return HttpResponse('no results') data = {"type": "FeatureCollection", "features":jsons} |