mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Book details: Fix single value custom text column not clickable. Fixes #1521004 [Non-clickables in the book details](https://bugs.launchpad.net/calibre/+bug/1521004)
Merge branch 'master' of https://github.com/cbhaley/calibre
This commit is contained in:
commit
f7e8e5e8f0
@ -228,7 +228,8 @@ def mi_to_html(mi, field_list=None, default_author_link=None, use_roman_numbers=
|
||||
metadata['name'], a(x)), a(item_data(field, x, book_id)), p(x))
|
||||
for x in all_vals]
|
||||
val = metadata['is_multiple']['list_to_ui'].join(links)
|
||||
elif metadata['datatype'] == 'enumeration':
|
||||
elif metadata['datatype'] == 'text' or metadata['datatype'] == 'enumeration':
|
||||
# text/is_multiple handled above so no need to add the test to the if
|
||||
try:
|
||||
st = metadata['search_terms'][0]
|
||||
except Exception:
|
||||
|
Loading…
x
Reference in New Issue
Block a user