]> git.koha-community.org Git - koha.git/commit
Bug 20535: ModZebra called with $record with items stripped
authorDavid Gustafsson <david.gustafsson@ub.gu.se>
Fri, 6 Apr 2018 09:15:07 +0000 (11:15 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 12 Mar 2019 08:39:55 +0000 (08:39 +0000)
commit0e56d43b403c1acb4c9c0ce9427bfa3b33692d8b
tree5520ea8a2437f33de28bf099459445dddea2d5a6
parentd7988f672f68e0cc875eedce6bad0b634df8941c
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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 5ebf1a26dae62651d1749a2df2e54ee6d1af148a)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Biblio.pm