mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Have clicking on author in device view search the device for the author if the action is set to search calibre
Fixes #1895365 [Device view ignores author name behavior](https://bugs.launchpad.net/calibre/+bug/1895365)
This commit is contained in:
parent
e9351ae870
commit
061803f201
@ -220,8 +220,6 @@ def mi_to_html(
|
||||
if mi.author_link_map.get(aut):
|
||||
link = lt = mi.author_link_map[aut]
|
||||
elif default_author_link:
|
||||
if isdevice and default_author_link == 'search-calibre':
|
||||
default_author_link = DEFAULT_AUTHOR_LINK
|
||||
if default_author_link.startswith('search-'):
|
||||
which_src = default_author_link.partition('-')[2]
|
||||
link, lt = author_search_href(which_src, title=mi.title, author=aut)
|
||||
|
Loading…
x
Reference in New Issue
Block a user