X-Git-Url: https://git.realraum.at/?p=svn42.git;a=blobdiff_plain;f=grical-patchqueue%2FGraz%2CAT%20list%20index%20out%20of%20range%20realraum%20workaround;fp=grical-patchqueue%2FGraz%2CAT%20list%20index%20out%20of%20range%20realraum%20workaround;h=0000000000000000000000000000000000000000;hp=b7af26c5694e718727819c1f6b92d446aa2458ec;hb=5b00dab1a7d2ac2d8a593f0bd6e85a7194e2c9bd;hpb=8e8f26d01ab21db191f62f2732808dcb75e8a74f diff --git a/grical-patchqueue/Graz,AT list index out of range realraum workaround b/grical-patchqueue/Graz,AT list index out of range realraum workaround deleted file mode 100644 index b7af26c..0000000 --- a/grical-patchqueue/Graz,AT list index out of range realraum workaround +++ /dev/null @@ -1,18 +0,0 @@ -# HG changeset patch -# Parent ec3307ee2f499c75573748fd39843e3fdd5d6ad0 -diff -r ec3307ee2f49 -r 054c3747b695 grical/events/views.py ---- a/grical/events/views.py Sat Aug 24 02:06:46 2013 +0200 -+++ b/grical/events/views.py Tue Aug 27 15:16:13 2013 +0200 -@@ -1187,6 +1187,12 @@ - # query, we prioritize /s/?query= in the url but if not present we accept - # /s/query - query = request.GET.get('query', query) -+ -+ if query == "@Graz,AT": -+ query = "@Graz" -+ if query == "Graz,AT": -+ query = "Graz" -+ - # view - view = request.GET.get('view', 'boxes') - # shows the homepage with a message if no query, except when view=json