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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 31 Jul 2018 16:11:56 +0000 (13:11 -0300)
commit96f253d5ed2f1770b42f06554ebb4c4e14b3afdf
treeac18f080d54614d0b5f22379c72d8c260782ac68
parentc8996047684d70fcd8dafa9176f6dc409c934459
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>
Koha/SearchEngine/Elasticsearch/QueryBuilder.pm
t/db_dependent/Koha_SearchEngine_Elasticsearch_Search.t