From face2441fd6040fa2a45c5e02a0d2dbc6d4ce24d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= Date: Mon, 27 Apr 2015 13:39:49 +0200 Subject: [PATCH] =?utf8?q?Bugfix=C2=A0:=20correction=20syntaxe=20requ?= =?utf8?q?=C3=AAtes=20soir.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Products/Plinn/catalog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Products/Plinn/catalog.py b/Products/Plinn/catalog.py index 7e49083..d9e78a3 100644 --- a/Products/Plinn/catalog.py +++ b/Products/Plinn/catalog.py @@ -160,7 +160,7 @@ class DelegatedCatalog(Catalog) : try : plan.remove(i) except ValueError : pass c = SolrConnection(self.zcat.solr_url) - q =' AND '.join(['%s:"%s"' % item for item in delegatedQuery.items()]) + q =' AND '.join(['%s:(%s)' % item for item in delegatedQuery.items()]) resp = c.query(q, fields='id', rows=len(self)) c.close() return IISet(filter(None, [self.uids.get(r['id']) for r in resp.results])) -- 2.20.1