Bug 21032: Fix using facet for searches made on specific index
authorAlex Arnaud <alex.arnaud@biblibre.com>
Tue, 3 Jul 2018 13:57:00 +0000 (13:57 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 3 Aug 2018 14:07:21 +0000 (15:07 +0100)
commit8cfacd7e164178828b0e75743e78d1740ab414b9
treeb5ae7a5212b949a45ff4b09899c5783825289616
parentc6133753ed661902a9ec3cce14190c7d3d683ef0
Bug 21032: Fix using facet for searches made on specific index

Test plan:

  - Try a simple search (OPAC or staff) like "title:foo",
  - click on a facet: badaboum!
  - apply this patch,
  - retry

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 96f253d5ed2f1770b42f06554ebb4c4e14b3afdf)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/SearchEngine/Elasticsearch/QueryBuilder.pm
t/db_dependent/Koha_SearchEngine_Elasticsearch_Search.t