[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
Wed Dec 9 08:01:36 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 #44628|0                           |1
        is obsolete|                            |

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

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 AuthCleanBiblios 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

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


More information about the Koha-bugs mailing list