mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Book details: Fix clicking on tags etc not generating exact match searches
This commit is contained in:
parent
e00a8a945c
commit
55033c352d
@ -835,7 +835,7 @@ class BookDetails(QWidget): # {{{
|
|||||||
typ, val = link.partition(':')[::2]
|
typ, val = link.partition(':')[::2]
|
||||||
|
|
||||||
def search_term(field, val):
|
def search_term(field, val):
|
||||||
self.search_requested.emit('{}:="{}"'.format(field, val.replace('"', '\\"')))
|
self.search_requested.emit('{}:"={}"'.format(field, val.replace('"', '\\"')))
|
||||||
|
|
||||||
def browse(url):
|
def browse(url):
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user