Put news back as a category

This commit is contained in:
Charles Haley 2010-05-27 22:16:14 +01:00
parent 04e8a48916
commit 0697315e05

View File

@ -668,7 +668,7 @@ class LibraryDatabase2(LibraryDatabase, SchemaUpgrade, CustomColumns):
#### First, build the standard and custom-column categories #### #### First, build the standard and custom-column categories ####
for category in tb_cats.keys(): for category in tb_cats.keys():
cat = tb_cats[category] cat = tb_cats[category]
if not cat['is_category'] or not cat['kind'] == 'field': if not cat['is_category'] or cat['kind'] in ['user', 'search']:
continue continue
tn = cat['table'] tn = cat['table']
categories[category] = [] #reserve the position in the ordered list categories[category] = [] #reserve the position in the ordered list