]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/commitdiff
Fixed: MapTool couldn't load the sledruns.
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Mon, 7 Feb 2011 21:44:19 +0000 (21:44 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Mon, 7 Feb 2011 21:44:19 +0000 (21:44 +0000)
git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/wradmin@759 7aebc617-e5e2-0310-91dc-80fb5f6d2477

wradmin/setup.py
wradmin/wradmin/controllers/maptool.py

index 86083ae1f1e03375f3c61475c78434e3f89bef64..61de7b063fb7e5c321523c1239cbe953f214794f 100644 (file)
@@ -7,7 +7,7 @@ except ImportError:
 
 setup(
     name='wradmin',
-    version='1.4.0',
+    version='1.4.1',
     description='Administrative Interface for Winterrodeln',
     author='Philipp Spitzer',
     author_email='philipp.spitzer@winterrodeln.org',
index a78198ea65b83f513e8b90d72a6e81a5b2d0e697..ae9acea1903b0c5246d7a894dc08ba392b195e34 100644 (file)
@@ -14,7 +14,7 @@ class MaptoolController(BaseController):
     @jsonify
     def ajax_sledding(self):
         # Putting the result in a dict is not necessary but avoids a warning that array type jsonified data are cross-site data leak attackable
-        return {'sledding': model.meta.Session.query(model.WrSleddingCache.page_title, model.WrSleddingCache.position_latitude, model.WrSleddingCache.position_longitude).filter('position_latitude is not null and position_longitude is not null').all()}
+        return {'sledding': model.meta.Session.query(model.WrSledrunCache.page_title, model.WrSledrunCache.position_latitude, model.WrSledrunCache.position_longitude).filter('position_latitude is not null and position_longitude is not null').all()}
 
     @jsonify
     def ajax_inns(self):