diff --git a/src/calibre/srv/opds.py b/src/calibre/srv/opds.py index 903a1fd54b..be2fd0a4d3 100644 --- a/src/calibre/srv/opds.py +++ b/src/calibre/srv/opds.py @@ -491,7 +491,10 @@ def opds(ctx, rd): except KeyError: return x + fm = rc.db.field_metadata for category in sorted(categories, key=lambda x: sort_key(getter(x))): + if fm.is_ignorable_field(category) and not rc.ctx.is_field_displayable(category): + continue if len(categories[category]) == 0: continue if category in ('formats', 'identifiers'):