Bugzilla – Attachment 85890 Details for
Bug 20535
ModZebra called with $record with items stripped in ModBiblioMarc
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20535: ModZebra called with $record with items stripped
Bug-20535-ModZebra-called-with-record-with-items-s.patch (text/plain), 1.38 KB, created by
Josef Moravec
on 2019-03-01 08:51:41 UTC
(
hide
)
Description:
Bug 20535: ModZebra called with $record with items stripped
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2019-03-01 08:51:41 UTC
Size:
1.38 KB
patch
obsolete
>From c39261100333f1ad3226ecf18b7e042ce58e5369 Mon Sep 17 00:00:00 2001 >From: David Gustafsson <david.gustafsson@ub.gu.se> >Date: Fri, 6 Apr 2018 11:15:07 +0200 >Subject: [PATCH] Bug 20535: ModZebra called with $record with items stripped > >ModZebra called with $record with items stripped in >ModBiblioMarc. Remove $record argument to force >record to be loaded again from database with items >embedded. > >How to test: >1) Make sure biblios are indexed (with > rebuild_elastic_search.pl). >2) Perform a search that will produce a sample result > containing at least one biblio with items. >3) Edit and save a biblio with items. >4) Perform the same search again, the updated biblio > should now have no items when viewed in the search > results (No items). >5) Apply patch. >6) Repeat step 1-3. >7) The updated biblio should now have items when viewed > in the search results. > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > C4/Biblio.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Biblio.pm b/C4/Biblio.pm >index c12b108046..fc23bb5994 100644 >--- a/C4/Biblio.pm >+++ b/C4/Biblio.pm >@@ -3348,7 +3348,7 @@ sub ModBiblioMarc { > $m_rs->metadata( $record->as_xml_record($encoding) ); > $m_rs->store; > >- ModZebra( $biblionumber, "specialUpdate", "biblioserver", $record ); >+ ModZebra( $biblionumber, "specialUpdate", "biblioserver" ); > return $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 20535
:
73755
|
82844
|
85890
|
86083