author | Sverre Rabbelier <srabbelier@gmail.com> |
Wed, 08 Apr 2009 22:21:12 +0000 | |
changeset 2132 | 37c6fe0c426c |
parent 2131 | 1d27ec29f1c7 |
child 2133 | 7f77e0be852e |
--- a/app/soc/views/models/base.py Wed Apr 08 22:20:53 2009 +0000 +++ b/app/soc/views/models/base.py Wed Apr 08 22:21:12 2009 +0000 @@ -706,7 +706,8 @@ order = [] entities = fun(logic.getModel(), filter, order, logic) - data = [i.toDict() for i in entities] + key_order = params.get('cache_pick_order') + data = [i.toDict(key_order) for i in entities] return self.json(request, data)