Koha/Koha
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
..
Account
Acquisition Bug 31115: Add support for additional fields for invoices 2022-10-24 14:11:06 -03:00
App
ArticleRequest
Auth Bug 31378: (follow-up) Fix QA concerns 2022-11-08 14:39:57 -03:00
Authority
BackgroundJob Bug 32030: Create eHolding titles from a list 2022-11-08 09:44:20 -03:00
Biblio Bug 31889: (follow-up) Correct item order 2022-11-07 07:53:34 -03:00
BiblioUtils
Cache
Cash
Charges
Checkouts
Club
CodeList/Unimarc
Config
Course
Database
Edifact
ERM Bug 32030: Fix perlcritic errors 2022-11-09 09:48:26 -03:00
Exceptions Bug 12758: (QA follow-up) Enhance POD 2022-11-09 09:58:56 -03:00
Exporter
ExternalContent
Filter/MARC Revert "Bug 15187: Index 880 in Zebra the same as Elasticsearch" 2022-10-24 14:03:44 -03:00
Hold
Illrequest
Import
Indexer
Item Bug 24606: Fix encoding issues on decoded content 2022-11-11 15:38:18 -03:00
Library
List
MetadataRecord
Middleware
Misc
Notice
Number
OAI/Server
Object
Objects
Old
Patron Bug 31577: Use patron category multi-select for OpacHiddenItemsExceptions system preference 2022-10-24 14:15:27 -03:00
Patrons Bug 27920: Add ability to update patron expiration dates when importing patrons 2022-11-09 14:37:07 -03:00
pdfformat
Plugins Bug 29672: Clear cache of enabled plugins when a plugin's state change 2022-11-03 11:28:16 -03:00
RecordProcessor
REST Bug 32178: Remove security breach introduced in bug 31378 2022-11-15 18:43:45 -03:00
Result
Schema Bug 32154: DBIC schema 2022-11-16 09:24:09 -03:00
SearchEngine Bug 17170: Add the ability to create 'saved searches' for use as filters when searching the catalog 2022-10-21 11:15:18 -03:00
Serial
Sitemapper
SMS
SMTP
Subscription
SuggestionEngine
Tags
Template/Plugin Bug 31378: Rename Auth Provider to Identity Provider and add Client.t tests 2022-11-08 14:39:51 -03:00
UI Bug 31154: Avoid unecessary loop 2022-10-21 12:27:05 -03:00
Util
XSLT Bug 12758: Add new module call in Koha::XSLT::Base 2022-11-09 09:52:25 -03:00
Z3950Responder
Account.pm Bug 31895: (QA follow-up) Rollback change, add comment 2022-11-07 11:16:28 -03:00
ActionLog.pm
ActionLogs.pm
AdditionalContent.pm
AdditionalContents.pm
AdditionalField.pm
AdditionalFields.pm
AdditionalFieldValue.pm
AdditionalFieldValues.pm
AdvancedEditorMacro.pm
AdvancedEditorMacros.pm
ApiKey.pm
ApiKeys.pm
ArticleRequest.pm
ArticleRequests.pm
AudioAlert.pm
AudioAlerts.pm
AuthorisedValue.pm
AuthorisedValueCategories.pm
AuthorisedValueCategory.pm
AuthorisedValues.pm
Authorities.pm
Authority.pm
AuthUtils.pm
BackgroundJob.pm Bug 32030: Create eHolding titles from a list 2022-11-08 09:44:20 -03:00
BackgroundJobs.pm Bug 31969: (follow-up) Move deletion code to Koha::BackgroundJobs->purge for reuse. 2022-10-27 15:03:26 -03:00
Biblio.pm Bug 31543: Use query string, rather than query, to build link 2022-11-16 15:57:28 -03:00
BiblioFramework.pm
BiblioFrameworks.pm
Biblioitem.pm
Biblioitems.pm
Biblios.pm
BiblioUtils.pm
Cache.pm
Caches.pm
Calendar.pm
Checkout.pm
Checkouts.pm
CirculationRule.pm
CirculationRules.pm Bug 23012: (QA follow-up) Combine method to get both values 2022-10-24 17:43:29 -03:00
Cities.pm
City.pm
ClassSortRule.pm
ClassSortRules.pm
ClassSource.pm
ClassSources.pm
ClassSplitRule.pm
ClassSplitRules.pm
Club.pm
Clubs.pm
Config.pm
CookieManager.pm
Course.pm
Courses.pm
CoverImage.pm
CoverImages.pm
CsvProfile.pm
CsvProfiles.pm
CurbsidePickup.pm
CurbsidePickupIssue.pm
CurbsidePickupIssues.pm
CurbsidePickupOpeningSlot.pm
CurbsidePickupOpeningSlots.pm
CurbsidePickupPolicies.pm
CurbsidePickupPolicy.pm
CurbsidePickups.pm
Database.pm
DateUtils.pm
Desk.pm
Desks.pm
EDI.pm Bug 27017: (QA follow-up) Don't die if aqorders.biblionumber is null 2022-10-27 15:03:49 -03:00
Edifact.pm
Email.pm
Encryption.pm
Exception.pm
Exceptions.pm Bug 31378: Add 'parameter' parameter to Koha::Exceptions::MissingParameter 2022-11-08 14:31:15 -03:00
ExternalContent.pm
FrameworkPlugin.pm
Hold.pm Bug 31894: Extend after_hold_action hook 2022-11-09 10:05:32 -03:00
Holds.pm Bug 31907: (QA follow-up) Add POD 2022-11-04 20:08:47 -03:00
I18N.pm
Illcomment.pm
Illcomments.pm
Illrequest.pm Bug 22321: Fix store() crash when modifying borrowernumber of a new ILL request 2022-10-24 17:33:18 -03:00
Illrequestattribute.pm
Illrequestattributes.pm
Illrequests.pm
ImportBatch.pm
ImportBatches.pm
ImportBatchProfile.pm
ImportBatchProfiles.pm
Item.pm Bug 23012: (follow-up) Fix t/db_dependent/Koha/Items.t 2022-10-28 16:17:15 -03:00
Items.pm
ItemType.pm
ItemTypes.pm
KeyboardShortcut.pm
KeyboardShortcuts.pm
Libraries.pm
Library.pm
Linktracker.pm
Localization.pm
Localizations.pm
Logger.pm Bug 22678: (follow-up) Array ref expected in context key 2022-10-24 14:37:05 -03:00
Manual.pm
MarcOverlayRule.pm
MarcOverlayRules.pm
MarcSubfieldStructure.pm
MarcSubfieldStructures.pm
MessageAttribute.pm
MessageAttributes.pm
MetadataIterator.pm
MetadataRecord.pm
MetaSearcher.pm
MoreUtils.pm
OAuth.pm
OAuthAccessToken.pm
OAuthAccessTokens.pm
Object.pm Bug 26635: (follow-up) Rename av_expand to strings 2022-11-09 14:01:02 -03:00
Objects.pm
Patron.pm
Patrons.pm Bug 32030: rename filter_by_have_subpermission with filter_by_have_permission 2022-11-08 09:43:35 -03:00
Plugins.pm Bug 29672: (QA follow-up) Add POD 2022-11-03 11:29:43 -03:00
ProblemReport.pm
ProblemReports.pm
PseudonymizedTransaction.pm
PseudonymizedTransactions.pm
Quote.pm
Quotes.pm
Rating.pm
Ratings.pm
RDF.pm
Recall.pm
Recalls.pm Bug 31896: New after_recall_action hook 2022-11-09 14:34:41 -03:00
RecordProcessor.pm
Report.pm
Reports.pm
Review.pm
Reviews.pm
Schema.pm
Script.pm
SearchEngine.pm
SearchField.pm
SearchFields.pm
SearchFilter.pm Bug 17170: (QA follow-up) Spec cleanup 2022-10-21 11:15:22 -03:00
SearchFilters.pm Bug 17170: DB Updates 2022-10-21 11:15:13 -03:00
SearchMarcMap.pm
SearchMarcMaps.pm
Serial.pm
Serials.pm
SharedContent.pm
SimpleMARC.pm Bug 31644: Check if subfield defined, not for truth 2022-10-24 11:53:18 -03:00
Sitemapper.pm
Statistic.pm
Statistics.pm
StockRotationItem.pm
StockRotationItems.pm
StockRotationRota.pm
StockRotationRotas.pm
StockRotationStage.pm
StockRotationStages.pm
Subscription.pm
Subscriptions.pm
Suggestion.pm
SuggestionEngine.pm
Suggestions.pm
Tag.pm
Tags.pm
Token.pm
TrackedLink.pm
TrackedLinks.pm
UploadedFile.pm
UploadedFiles.pm
Uploader.pm
Virtualshelf.pm
Virtualshelfcontent.pm
Virtualshelfcontents.pm
Virtualshelfshare.pm
Virtualshelfshares.pm
Virtualshelves.pm
Z3950Responder.pm
Z3950Server.pm
Z3950Servers.pm