[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
Mon Nov 9 06:48:31 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 #44610|0                           |1
        is obsolete|                            |

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

A new syspref AuthCleanBiblios controls 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 does some code refactoring:

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

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

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


More information about the Koha-bugs mailing list