]> git.koha-community.org Git - koha.git/commit
Bug 22426: Map 'loc' to 'location' when building ES queries
authorFridolin Somers <fridolin.somers@biblibre.com>
Mon, 17 Jun 2019 14:09:38 +0000 (16:09 +0200)
committerJoy Nelson <joy@bywatersolutions.com>
Fri, 31 Jan 2020 00:17:32 +0000 (00:17 +0000)
commit439c73a2ed167f031741a2946bd04ade39d9d581
treefddce8da98b4528711656318ef5373ab58d5f555
parent4fe82250938072156b2d03027e3d03252e79f679
Bug 22426: Map 'loc' to 'location' when building ES queries

A search made on Shelving location tab in advanced search gives 0 result.

Test plan :
Without patch:
    - in advanced search, choose a location in shelving location tab and start search (opac-search.pl?idx=kw&op=and&idx=kw&op=and&idx=kw&do=Search&limit=mc-loc)
    - 0 result
    - check that location exist by doing a simple search and filtering on the    location facet
    - have some results
With patch:
    - in advanced search, choose a location in shelving location tab and start search (opac-search.pl?idx=kw&op=and&idx=kw&op=and&idx=kw&do=Search&limit=mc-loc)
    - found results

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
Koha/SearchEngine/Elasticsearch/QueryBuilder.pm