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

Bernardo Gonzalez Kriegel <[email protected]> changed:

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

--- Comment #31 from Bernardo Gonzalez Kriegel <[email protected]> ---
Created attachment 45821
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=45821&action=edit
[SIGNED-OFF] 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

Signed-off-by: Bernardo Gonzalez Kriegel <[email protected]>
Tested with dontmerge on/off, AuthCleanBiblioson/off
Work as described
Few errors fixed in folloups

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to