[Koha-bugs] [Bug 9988] Leave larger authority merges to merge_authorities cronjob ( pref AuthorityMergeLimit)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 20 14:12:19 CET 2017


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

--- Comment #47 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
This should be enough.
But will add a unit test too ;)

+    if( !$authfrom && $MARCfrom && $MARCfrom->field('1..') ) { # postponed
merge, authfrom was deleted
+        @record_from = ( $MARCfrom->field('1..') )[0]->subfields;
+    } elsif( $auth_tag_to_report_from && $MARCfrom &&
$MARCfrom->field($auth_tag_to_report_from) ) {
+        @record_from = $MARCfrom->field($auth_tag_to_report_from)->subfields;
+    }

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


More information about the Koha-bugs mailing list