Book details: Fix clicking on tags etc not generating exact match searches

This commit is contained in:
Kovid Goyal 2019-10-29 21:37:24 +05:30
parent e00a8a945c
commit 55033c352d
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -835,7 +835,7 @@ class BookDetails(QWidget): # {{{
typ, val = link.partition(':')[::2]
def search_term(field, val):
self.search_requested.emit('{}:="{}"'.format(field, val.replace('"', '\\"')))
self.search_requested.emit('{}:"={}"'.format(field, val.replace('"', '\\"')))
def browse(url):
try: