mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Put news back as a category
This commit is contained in:
parent
04e8a48916
commit
0697315e05
@ -668,7 +668,7 @@ class LibraryDatabase2(LibraryDatabase, SchemaUpgrade, CustomColumns):
|
||||
#### First, build the standard and custom-column categories ####
|
||||
for category in tb_cats.keys():
|
||||
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
|
||||
tn = cat['table']
|
||||
categories[category] = [] #reserve the position in the ordered list
|
||||
|
Loading…
x
Reference in New Issue
Block a user