web/hdalab/views/ajax.py
changeset 162 a2cb4f425a9f
parent 160 5f6c97b58688
child 163 e4ff12317fa3
--- a/web/hdalab/views/ajax.py	Tue Mar 13 13:56:12 2012 +0100
+++ b/web/hdalab/views/ajax.py	Tue Mar 13 14:11:03 2012 +0100
@@ -162,7 +162,7 @@
     content_count = request.GET.get('contentcount', 12)
     tag_count = request.GET.get('tagcount', 30)
     
-    cache_key = fix_cache_key("-".join(("filter",str(periode),str(label),str(country),str(contentlist),str(max_tag_order),str(content_count),str(tag_count), str(request.LANGUAGE_CODE))))
+    cache_key = fix_cache_key("-".join(("filter",request.LANGUAGE_CODE,str(periode),str(label),str(country),str(contentlist),str(max_tag_order),str(content_count),str(tag_count))))
     
     outputstr = cache.get(cache_key)