From 7f6bc637339d98e3101e16be44e0785b6a949b4a Mon Sep 17 00:00:00 2001 From: Charles Haley Date: Sun, 6 Jan 2019 21:07:30 +0000 Subject: [PATCH] Finish the fix for selecting custom fields in /opds --- src/calibre/srv/opds.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/calibre/srv/opds.py b/src/calibre/srv/opds.py index c5320319cf..be2fd0a4d3 100644 --- a/src/calibre/srv/opds.py +++ b/src/calibre/srv/opds.py @@ -491,8 +491,9 @@ 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 not rc.ctx.is_field_displayable(category): + if fm.is_ignorable_field(category) and not rc.ctx.is_field_displayable(category): continue if len(categories[category]) == 0: continue