Bugzilla – Attachment 52440 Details for
Bug 16746
Can not find duplicated authorities cataloguing a new one
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to solve this issue
Bug-16746-Can-not-find-duplicated-authorities-catalo.patch (text/plain), 1.09 KB, created by
Juan Romay Sieira
on 2016-06-15 15:36:44 UTC
(
hide
)
Description:
Patch to solve this issue
Filename:
MIME Type:
Creator:
Juan Romay Sieira
Created:
2016-06-15 15:36:44 UTC
Size:
1.09 KB
patch
obsolete
>From 35122e08757249ad9022b358f5974d1442560ed9 Mon Sep 17 00:00:00 2001 >From: Juan Romay Sieira <juan.sieira@xercode.es> >Date: Wed, 15 Jun 2016 17:33:50 +0200 >Subject: [PATCH] Bug 16746 - Can not find duplicated authorities cataloguing a > new one >Content-Type: text/plain; charset="utf-8" > >Signed-off-by: Juan Romay Sieira <juan.sieira@xercode.es> >--- > C4/AuthoritiesMarc.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm >index 4332c67..0d643f1 100644 >--- a/C4/AuthoritiesMarc.pm >+++ b/C4/AuthoritiesMarc.pm >@@ -829,7 +829,7 @@ sub FindDuplicateAuthority { > } > } > my $searcher = Koha::SearchEngine::Search->new({index => $Koha::SearchEngine::AUTHORITIES_INDEX}); >- my ($error, $results, $total_hits) = $searcher->simple_search_compat( $query, 0, 1 ); >+ my ($error, $results, $total_hits) = $searcher->simple_search_compat( $query, 0, 1, [ "authorityserver" ]); > # there is at least 1 result => return the 1st one > if (!defined $error && @{$results} ) { > my $marcrecord = C4::Search::new_record_from_zebra( >-- >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 16746
: 52440 |
52869
|
52870