From 3520cf6362f9617e8c34137686f1fd2bd0fa6a7d Mon Sep 17 00:00:00 2001 From: Bouzid Fergani Date: Tue, 20 Dec 2016 11:29:18 -0500 Subject: [PATCH] Bug 11299: fix problem show undefined when submit blank data and other small fix - Show icon of button automaticlinker and search - Add icons deny and approve - Fix problem button 'Z39.50/SRU Search' it's show twice --- C4/Biblio.pm | 2 +- .../prog/en/modules/cataloguing/addbiblio.tt | 4 ---- koha-tmpl/intranet-tmpl/prog/img/approve.gif | Bin 0 -> 204 bytes koha-tmpl/intranet-tmpl/prog/img/deny.gif | Bin 0 -> 381 bytes 4 files changed, 1 insertion(+), 5 deletions(-) create mode 100644 koha-tmpl/intranet-tmpl/prog/img/approve.gif create mode 100644 koha-tmpl/intranet-tmpl/prog/img/deny.gif diff --git a/C4/Biblio.pm b/C4/Biblio.pm index f67f36c..4cdcdb2 100644 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -540,7 +540,6 @@ sub LinkBibHeadingsToAuthorities { } require C4::Heading; require C4::AuthoritiesMarc; - $allowrelink = 1 unless defined $allowrelink; my $num_headings_changed = 0; foreach my $field ( $bib->fields() ) { @@ -658,6 +657,7 @@ sub LinkBibHeadingsToAuthorities { } } + push(@{$results{'details'}}, { tag => '', authid => undef, status => 'UNCHANGED'}) unless %results; return $num_headings_changed, \%results; } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt index b778edc..f06afaa 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt @@ -664,10 +664,6 @@ function Changefwk() {
Save
[% END %] - [% UNLESS (circborrowernumber) %][%# Hide in fast cataloging %] -
Z39.50/SRU search
- [% END %] -