Koha/catalogue
Nick Clemens 1736fe2335
Bug 31543: Use query string, rather than query, to build link
This patch returns the query string from build_query_compat
Under Zebra, either works for the link, for ES we need the simple string

I expand the test for get_components_query to test both engines

To test:
1.0) Set search engine to Elasticsearch
1.1) Go to Tools > Stage MARC records for import
1.2) Upload the example file
1.3) In the form, choose the format 'MARCXML'
1.4) Click 'Stage for import'
1.5) Click 'Manage staged records'
1.6) Click 'Import this batch into the catalog'

2) Change MaxComponentRecords to 10
3) In the staff interface, search the catalog for 'easy piano'
4) Click on the record 'Easy piano pieces for children'
5) Click on the 'show all component parts' link at the bottom of the Components tab
--> it searches for HASH(...) - returns no results
6) Try the same in OPAC
--> it searches for HASH(...) - returns no results
7) Apply patch and restart all
8) repeat 3-6
9) Results returned!

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-11-16 15:57:28 -03:00
..
detail.pl Bug 31543: Use query string, rather than query, to build link 2022-11-16 15:57:28 -03:00
export.pl Bug 29697: Use flag embed_items 2022-07-22 15:24:11 -03:00
getitem-ajax.pl
image.pl
imageviewer.pl Bug 31310: Remove GetItemsInfo from catalogue/imageviewer 2022-08-16 09:22:47 -03:00
ISBDdetail.pl Bug 29697: Use flag embed_items 2022-07-22 15:24:11 -03:00
issuehistory.pl
item-export.pl
itemsearch.pl Bug 17748: Show due date and availability in item search results 2022-03-24 14:22:10 -10:00
labeledMARCdetail.pl Bug 29697: Replace GetMarcBiblio occurrences with $biblio->metadata->record 2022-07-22 15:24:11 -03:00
MARCdetail.pl Bug 31535: Fix warning - uninitialized value in string ne (MARCdetail.pl) 2022-09-12 16:16:28 -03:00
moredetail.pl Bug 31315: (QA follow-up) Show itemtype description instead of database code 2022-08-31 08:49:26 -03:00
search-history.pl
search.pl Bug 17170: Add admin page for filters and ability to edit/save existing filters 2022-10-21 11:15:16 -03:00
showmarc.pl Bug 30779: Remove _update_import_record_marc and update tests 2022-08-18 09:02:04 -03:00
stockrotation.pl
updateitem.pl