add pad.ma home screen

This commit is contained in:
rolux 2012-02-15 09:23:30 +00:00
commit aa5976273e
5 changed files with 437 additions and 111 deletions

View file

@ -95,7 +95,7 @@ def findLists(request):
def is_featured_condition(x):
return x['key'] == 'status' and \
x['value'] == 'featured' and \
x['operator'] == '='
x['operator'] in ('=', '==')
is_featured = len(filter(is_featured_condition, data['query'].get('conditions', []))) > 0
if is_section_request: