From bfdb5d01b59b03373c47ec2dde5fcd60932750c8 Mon Sep 17 00:00:00 2001 From: zjosua Date: Mon, 30 Mar 2020 10:12:47 +0200 Subject: [PATCH] Use double quotes in taglimit queries --- qt/aqt/taglimit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qt/aqt/taglimit.py b/qt/aqt/taglimit.py index ccdaab50a..f7fce1164 100644 --- a/qt/aqt/taglimit.py +++ b/qt/aqt/taglimit.py @@ -93,12 +93,12 @@ class TagLimit(QDialog): if yes: arr = [] for req in yes: - arr.append("tag:'%s'" % req) + arr.append('tag:"%s"' % req) self.tags += "(" + " or ".join(arr) + ")" if no: arr = [] for req in no: - arr.append("-tag:'%s'" % req) + arr.append('-tag:"%s"' % req) self.tags += " " + " ".join(arr) saveGeom(self, "tagLimit") QDialog.accept(self)