mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
Fix links for series and custom series columns being confounded
This commit is contained in:
parent
bb401748bc
commit
72ea69f8d9
@ -320,7 +320,7 @@ def mi_to_html(
|
|||||||
sidx=fmt_sidx(sidx, use_roman=use_roman_numbers), cls="series_name",
|
sidx=fmt_sidx(sidx, use_roman=use_roman_numbers), cls="series_name",
|
||||||
series=p(series), href=search_action_with_data(st, series, book_id, field),
|
series=p(series), href=search_action_with_data(st, series, book_id, field),
|
||||||
tt=p(_('Click to see books in this series')))
|
tt=p(_('Click to see books in this series')))
|
||||||
val += add_other_link('series', mi.series)
|
val += add_other_link(field, series)
|
||||||
elif metadata['datatype'] == 'datetime':
|
elif metadata['datatype'] == 'datetime':
|
||||||
aval = getattr(mi, field)
|
aval = getattr(mi, field)
|
||||||
if is_date_undefined(aval):
|
if is_date_undefined(aval):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user