From 4292dcbdda61df599d7a65261fc9250fbf1da3a3 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 6 Mar 2023 19:43:36 +0530 Subject: [PATCH] Also handle composite_show_in_comments in the content server --- src/pyj/book_list/book_details.pyj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyj/book_list/book_details.pyj b/src/pyj/book_list/book_details.pyj index 6afdf57085..fd958d7961 100644 --- a/src/pyj/book_list/book_details.pyj +++ b/src/pyj/book_list/book_details.pyj @@ -334,7 +334,7 @@ def render_metadata(mi, table, book_id, iframe_css): # {{{ name = fm.name or field datatype = fm.datatype val = mi[field] - if field is 'comments' or datatype is 'comments': + if field is 'comments' or datatype is 'comments' or fm.display?.composite_show_in_comments: if not val: return ias = fm.display?.interpret_as or 'html'