https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24109

Myka Kennedy Stephens <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #96623|0                           |1
        is obsolete|                            |

--- Comment #2 from Myka Kennedy Stephens <[email protected]> ---
Created attachment 96628
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=96628&action=edit
Bug 24109: Map 'loc' to 'location' whne building ES queries

When building the query we start with mc-loc - then we strip the mc, convert
the field, and restore mc-
to indicate the searches should be ORed together.

We have a mapping for mc-loc to location, but we strip the mc for converting

For all other mc indexes there is no issue as they don't need to be mapped
(they are the same minus the mc)

To test:
0 - Be using Elasticsearch and have  AdvancedSearchTypes set to include loc
1 - Perform an advanced search for two shelving locations that have items in
the catalog
2 - Note no restuls
3 - Apply patch
4 - Restart all the things
5 - Repeat search
6 - You get results!

Signed-off-by: Myka Kennedy Stephens <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to