Bugzilla – Attachment 41342 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), 974 bytes, created by
Matthias Meusburger
on 2015-08-04 13:06:50 UTC
(
hide
)
Description:
Bug 14560 [Follow-up]: Compatible with DOM indexing.
Filename:
MIME Type:
Creator:
Matthias Meusburger
Created:
2015-08-04 13:06:50 UTC
Size:
974 bytes
patch
obsolete
>From 62a5b72f3e70244c3a1968b994b397a7f90db2e4 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; >-- >1.7.10.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