Bugzilla – Attachment 58872 Details for
Bug 14560
Introduce a way of handling Rameau composed authorities, without breaking normal workflow
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14560 [Follow-up]: Compatible with DOM indexing.
Bug-14560-Follow-up-Compatible-with-DOM-indexing.patch (text/plain), 968 bytes, created by
Julian Maurice
on 2017-01-12 12:18:46 UTC
(
hide
)
Description:
Bug 14560 [Follow-up]: Compatible with DOM indexing.
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2017-01-12 12:18:46 UTC
Size:
968 bytes
patch
obsolete
>From 0c94fdc7d2938dcb23be0c3585cd69bba8133135 Mon Sep 17 00:00:00 2001 >From: Matthias Meusburger <matthias.meusburger@biblibre.com> >Date: Tue, 4 Aug 2015 14:59:45 +0200 >Subject: [PATCH] Bug 14560 [Follow-up]: Compatible with DOM indexing. > >--- > C4/AuthoritiesRameau.pm | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/C4/AuthoritiesRameau.pm b/C4/AuthoritiesRameau.pm >index 66c8272..c1ad3f4 100644 >--- a/C4/AuthoritiesRameau.pm >+++ b/C4/AuthoritiesRameau.pm >@@ -90,7 +90,10 @@ sub _findLocalAuth { > } > if ($rs && $rs->size() == 1) { > my $zoomauth = $rs->record(0); >- my $kohaauth = new_from_usmarc MARC::Record ($zoomauth->raw()); >+ my $kohaauth = C4::Search->can('new_record_from_zebra') ? >+ C4::Search::new_record_from_zebra('authorityserver', $zoomauth->raw()) : >+ new_from_usmarc MARC::Record ($zoomauth->raw()); >+ > my $kohaauthid = $kohaauth->field('001')->data(); > $rs->destroy(); > return $kohaauthid; >-- >2.1.4
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 14560
:
41072
|
41342
|
43124
|
58871
| 58872 |
58873