Bugzilla – Attachment 115158 Details for
Bug 27138
Host items are not included in Z39 results when using EasyAnalytics
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27138: (follow-up) Embed host items when performing index from command line
Bug-27138-follow-up-Embed-host-items-when-performi.patch (text/plain), 1.33 KB, created by
Nick Clemens (kidclamp)
on 2021-01-14 13:24:48 UTC
(
hide
)
Description:
Bug 27138: (follow-up) Embed host items when performing index from command line
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2021-01-14 13:24:48 UTC
Size:
1.33 KB
patch
obsolete
>From db161058fe31632926056e3dd9eab2701e601ee5 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 14 Jan 2021 13:22:18 +0000 >Subject: [PATCH] Bug 27138: (follow-up) Embed host items when performing index > from command line > >The previous patch made sure host items were embedded when indexes were performed inside of Koha (catalg edits, checkins, etc.) but did not affect a command line reindex > >To test: >0 - Follow previous test plan to setup records and set search engine to elasticsearch >1 - perl misc/search_tools/rebuild_elasticsearch.pl -d >2 - Search for the barcode and confirm both records are returned >3 - Confirm the host items are included in the results >--- > Koha/BiblioUtils.pm | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/Koha/BiblioUtils.pm b/Koha/BiblioUtils.pm >index 9be2e6168a..e68307e3b6 100644 >--- a/Koha/BiblioUtils.pm >+++ b/Koha/BiblioUtils.pm >@@ -152,7 +152,9 @@ sub get_all_biblios_iterator { > return if !$row; > my $marc = C4::Biblio::GetMarcBiblio({ > biblionumber => $row->biblionumber, >- embed_items => 1 }); >+ embed_items => 1, >+ embed_host_items => 1 >+ }); > my $next = eval { > __PACKAGE__->new($marc, $row->biblionumber); > }; >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 27138
:
114126
|
115158
|
117333
|
117334
|
117346
|
117347
|
122035
|
125698
|
125699
|
125700
|
125701
|
128175
|
128176
|
128177
|
128178
|
128179
|
139401
|
139402
|
139403
|
139404
|
144200
|
144201
|
144202
|
144203