diff --git a/src/calibre/library/server/opds.py b/src/calibre/library/server/opds.py index b86d0e7a2d..f74a0e6a17 100644 --- a/src/calibre/library/server/opds.py +++ b/src/calibre/library/server/opds.py @@ -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()