mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Make OPDS intial page respect the custom fields to display tweak
This commit is contained in:
parent
20b3c0d4db
commit
31cee4f34b
@ -594,6 +594,9 @@ class OPDSServer(object):
|
||||
meta = category_meta.get(category, None)
|
||||
if meta is None:
|
||||
continue
|
||||
if category_meta.is_custom_field(category) and \
|
||||
category not in custom_fields_to_display(self.db):
|
||||
continue
|
||||
cats.append((meta['name'], meta['name'], 'N'+category))
|
||||
updated = self.db.last_modified()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user