[Koha-bugs] [Bug 5572] refinements to function merge sub merge in C4::AuthoritiesMarc

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Nov 7 16:37:34 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5572

Frédéric Demians <frederic at tamil.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #18387|0                           |1
        is obsolete|                            |

--- Comment #28 from Frédéric Demians <frederic at tamil.fr> ---
Created attachment 44610
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44610&action=edit
Bug 5572 Improve C4::AuthoritiesMarc->merge() function

A new syspref AuthCleanBiblios allows to control how modified info in a
modified authority are propagated to the attached biblio records. By
default, the merge() behavior isn't changed. When AuthCleanBiblio is set
to yes, the subfields of the authority heading are copied to biblio
field. If the biblio field contains subfields that are not anymore in
the authority, they are removed (this is true only for the authority
subfields that are neither ignored nor hidden in the authority editor)

This patch do some code refactoring:

  - New function C4::AuthoritiesMarc::GetBibliosByAuthid
  - New function C4::Biblios::GetBiblionumber($record)
  - Minimizing SQL queries, and caching

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


More information about the Koha-bugs mailing list