Permalink
Browse files

fix developer and categories (#846)

Signed-off-by: Erik Gomez <e@eriknicolasgomez.com>
  • Loading branch information...
erikng authored and gregneagle committed Apr 6, 2018
1 parent e1f5f02 commit 7ec940250ec93dd2551a4f7d722b83e26a217686
Showing with 2 additions and 2 deletions.
  1. +2 −2 code/apps/Managed Software Center/Managed Software Center/mschtml.py
@@ -343,10 +343,10 @@ def build_list_page_items_html(category=None, developer=None, filter=None):
or filter in item['category'].lower()]
if category:
items = [item for item in items
if category.lower() in item.get('category', '').lower()]
if category.lower() == item.get('category', '').lower()]
if developer:
items = [item for item in items
if developer.lower() in item.get('developer', '').lower()]
if developer.lower() == item.get('developer', '').lower()]

if category is None and developer is None and filter is None:
# this is the default (formerly) "all items" view

0 comments on commit 7ec9402

Please sign in to comment.