geography : icons not correctly selected due to the sort key. cleaning.

svn: r17324
This commit is contained in:
Serge Noiraud
2011-04-28 15:40:46 +00:00
parent e29540ccfe
commit d76db89d16
2 changed files with 2 additions and 3 deletions

View File

@@ -296,7 +296,7 @@ class GeoEvents(GeoGraphyView):
event = dbstate.db.get_event_from_handle(obj)
self._createmap_for_one_event(event)
self.sort = sorted(self.place_list,
key=operator.itemgetter(6)
key=operator.itemgetter(3, 4)
)
self._create_markers()