[Koha-bugs] [Bug 20664] Optimize retrieval of biblio and item data

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 12 08:05:32 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20664

--- Comment #33 from Ere Maijala <ere.maijala at helsinki.fi> ---
(In reply to M. Tompsett from comment #32)
> ::: C4/Biblio.pm
> @@ -310,4 @@
> >  
> >      $frameworkcode = "" if !$frameworkcode || $frameworkcode eq "Default"; # XXX
> >  
> > -    _strip_item_fields($record, $frameworkcode);
> 
> I really think removing the frameworkcode is a bad idea.

The default framwork was made authoritative in bug 19096. As a result of that,
the frameworkcode parameter in GetMarcFromKohaField function is no longer used.
_strip_item_fields is still using GetMarcFromKohaField, it just doesn't need
the frameworkcode for anything. So effectively the patch just removes an unused
parameter.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list