Bugzilla – Attachment 24977 Details for
Bug 11652
merging authority records does not correct biblios
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11652: merging authority records does not correct biblios
Bug-11652-merging-authority-records-does-not-corre.patch (text/plain), 1.49 KB, created by
Chris Cormack
on 2014-02-01 20:38:18 UTC
(
hide
)
Description:
Bug 11652: merging authority records does not correct biblios
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2014-02-01 20:38:18 UTC
Size:
1.49 KB
patch
obsolete
>From f5378a051eb3b815aac7de0bcd312c2a8d96a305 Mon Sep 17 00:00:00 2001 >From: Janusz Kaczmarek <januszop@gmail.com> >Date: Fri, 31 Jan 2014 16:12:10 +0100 >Subject: [PATCH] Bug 11652: merging authority records does not correct biblios > >When merging authority records in librarian interface biblio records >linked to deleted authority are not being corrected (i.e. have still >old heading and orpaned link in $9). > >Test plan: >1. Have two authorities in the catalogue, linked to biblio records. >2. Merge them with the new merge facility (cf. Bug 5202). >3. Have a look a the biblio record(s) previously linked to the removed > authority. It should still have the old heading AND orpaned authority > link in $9. > >4. Apply the patch. >5. Refresh the test records (or use another set). >6. Repeat 1-3. Headings should be refreshed and the correct authid link > should be in $9 now. > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >--- > authorities/merge.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/authorities/merge.pl b/authorities/merge.pl >index 315e232..3628381 100755 >--- a/authorities/merge.pl >+++ b/authorities/merge.pl >@@ -68,6 +68,7 @@ if ($merge) { > require C4::ImportBatch; > C4::ImportBatch::SetImportRecordStatus( $recordid2, 'imported' ); > } else { >+ C4::AuthoritiesMarc::merge( $recordid2, GetAuthority($recordid2), $recordid1, $record ); > $error = (DelAuthority($recordid2) == 0); > } > push @errors, $error if ($error); >-- >1.8.5.3
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11652
:
24950
|
24977
|
24983