Bug 24506

Summary: Multibranch limit does not work with ElasticSearch
Product: Koha Reporter: Andreas Jonsson <andreas.jonsson>
Component: Searching - ElasticsearchAssignee: Andreas Jonsson <andreas.jonsson>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P5 - low CC: 1joynelson, jonathan.druart, lucas
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
20.05.00, 19.11.04, 19.05.09
Attachments: Bug 24506: Multibranch limit does not work with ElasticSearch
Bug 24506: Multibranch limit does not work with ElasticSearch
Bug 24506: Multibranch limit does not work with ElasticSearch

Description Andreas Jonsson 2020-01-24 10:12:08 UTC
Test plan

1. Set up a system with ElasticSearch
2. Set up or make sure ther are at least two branches
3. create a group of branches
4. make sure there are items associated with any library in the group
5. make a search in opac limited by the library group
6. make an advanced search in intra limited by the library group
7. change SearchEngine system preference to Zebra and repeat 5. and 6.
Comment 1 Andreas Jonsson 2020-01-24 10:14:31 UTC
Created attachment 97863 [details] [review]
Bug 24506: Multibranch limit does not work with ElasticSearch
Comment 2 Jonathan Druart 2020-02-13 15:46:04 UTC
Created attachment 98859 [details] [review]
Bug 24506: Multibranch limit does not work with ElasticSearch

Test plan
1. Set up a system with ElasticSearch
2. Set up or make sure ther are at least two branches
3. create a group of branches
4. make sure there are items associated with any library in the group
5. make a search in opac limited by the library group
6. make an advanced search in intra limited by the library group
7. change SearchEngine system preference to Zebra and repeat 5. and 6.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 3 Nick Clemens 2020-02-14 17:54:39 UTC
Created attachment 98998 [details] [review]
Bug 24506: Multibranch limit does not work with ElasticSearch

Test plan
1. Set up a system with ElasticSearch
2. Set up or make sure ther are at least two branches
3. create a group of branches
4. make sure there are items associated with any library in the group
5. make a search in opac limited by the library group
6. make an advanced search in intra limited by the library group
7. change SearchEngine system preference to Zebra and repeat 5. and 6.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Comment 4 Martin Renvoize 2020-02-17 10:46:06 UTC
Nice work everyone!

Pushed to master for 20.05
Comment 5 Joy Nelson 2020-03-05 01:22:37 UTC
Pushed to 19.11.x branch for 19.11.04
Comment 6 Lucas Gass 2020-03-09 20:38:12 UTC
backported to 19.05.x for 19.05.09