changeset 2160 | 3f9dd37d98a8 |
parent 2070 | 9555be8634a3 |
child 2187 | e4172c7792f5 |
--- a/app/soc/cache/logic.py Sat Apr 11 22:57:23 2009 +0000 +++ b/app/soc/cache/logic.py Sat Apr 11 22:58:19 2009 +0000 @@ -35,7 +35,7 @@ new_filter = {} for filter_key, value in filter.iteritems(): - new_value = value.key().name() if isinstance(value, db.Model) else value + new_value = value.key().id_or_name() if isinstance(value, db.Model) else value new_filter[filter_key] = new_value return 'query_for_%(kind)s_%(filter)s_%(order)s' % {