Bugzilla – Attachment 58307 Details for
Bug 11299
Add a button to automatically link authority records in cataloguing (AJAX)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11299: fix problem show undefined when submit blank data and other small fix
Bug-11299-fix-problem-show-undefined-when-submit-b.patch (text/plain), 3.53 KB, created by
Bouzid Fergani
on 2016-12-20 16:41:00 UTC
(
hide
)
Description:
Bug 11299: fix problem show undefined when submit blank data and other small fix
Filename:
MIME Type:
Creator:
Bouzid Fergani
Created:
2016-12-20 16:41:00 UTC
Size:
3.53 KB
patch
obsolete
>From 3520cf6362f9617e8c34137686f1fd2bd0fa6a7d Mon Sep 17 00:00:00 2001 >From: Bouzid Fergani <bouzid.fergani@inlibro.com> >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() { > <div class="btn-group"><a href="#" id="saveandview" class="btn btn-small"><i class="fa fa-save"></i> Save</a></div> > [% END %] > >- [% UNLESS (circborrowernumber) %][%# Hide in fast cataloging %] >- <div class="btn-group"><a class="btn btn-small" href="#" id="z3950search"><i class="fa fa-search"></i> Z39.50/SRU search</a></div> >- [% END %] >- > <div class="btn-group"> > <button class="btn btn-small dropdown-toggle" data-toggle="dropdown"><i class="fa fa-cog"></i> Settings <span class="caret"></span></button> > <ul id="settings-menu" class="dropdown-menu"> >diff --git a/koha-tmpl/intranet-tmpl/prog/img/approve.gif b/koha-tmpl/intranet-tmpl/prog/img/approve.gif >new file mode 100644 >index 0000000000000000000000000000000000000000..8064cf21415c77d977ea9e6357f144fe9635dc3b >GIT binary patch >literal 204 >zcmZ?wbhEHb6k-r!IKsfdFf;A{|NjkVHXE#IKL6%X!u|#8@1GZ#U-04QH;2tV3vM3E >zKe|$3S>^txH}8LX6R>mIg*T52j;#dhBN8b7WMLIyU}Vq%sR!A~!0MTx(3g@qFC)vW >z(@W`e^A05=ku4rFUUF~t-qCyHEK{)WU_x1z4bNf@hDk;;e0>d!3I&=BtjfyA8EhB= >UZiyRwlVvy<v+(umb_ND(01r_^!2kdN > >literal 0 >HcmV?d00001 > >diff --git a/koha-tmpl/intranet-tmpl/prog/img/deny.gif b/koha-tmpl/intranet-tmpl/prog/img/deny.gif >new file mode 100644 >index 0000000000000000000000000000000000000000..344839541e45ccb88dd22b52b7828c29902a6936 >GIT binary patch >literal 381 >zcmZ?wbhEHb6k-r!xXQqAhJoSt%a@Ofi@zK@cFV=(&AfTn3=JP7Ctp@l`f=~x|Ns9# >zY~K8=rRDq8s~06C?gR$D=;^s`Y59KLx_>`@T+z}x&(Hts`SVZv_I<l>;bB(RO(&<@ >zUS3bCs@^VH^5@;V`?0YvCr>`d!NEW?p!k!8RfK_yK?h_5$WIJxvm9CrJanY`Pb@JC >ze4wLttnJAoNi~a!?#r!m49s{=Ur?@8P-^Nfn6NNFA?6{AvV#Rj_d!O-M3p{H9;tLe >z5f+6c58+fr20qDpFJ5*&MLt1=LN_rUK{hEi4k=lW@P#rGscqbDj6571^1NKa+|r`b >w;sH)_3VBS-F5H5m>=U_|S^AGVv$8NrIOj-atrchP<YJWI-R*VX-I2i>0NV;}BLDyZ > >literal 0 >HcmV?d00001 > >-- >1.9.1
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 11299
:
23146
|
26715
|
33074
|
37912
|
37913
|
37972
|
38737
|
39477
|
39478
|
39479
|
40831
|
41229
|
45218
|
56440
|
56508
|
56509
|
58307
|
60998
|
63311
|
63312
|
63313
|
64075
|
67162
|
67708
|
67709
|
67710
|
67712
|
67713
|
67714
|
67824
|
67825
|
67826
|
67827
|
67828
|
67829
|
79385
|
79386
|
79387
|
79388
|
79389
|
79390
|
79391
|
79392
|
79393
|
79394
|
79395
|
79396
|
79397
|
79398
|
79399
|
79447
|
79448
|
79449
|
79450
|
79451
|
79452
|
79545
|
94818
|
95126
|
95152
|
98571
|
98572
|
99249
|
108091
|
108309
|
108310
|
108396
|
108552
|
108834
|
108835
|
109062
|
109063
|
109069
|
109181
|
110553
|
110554
|
110555
|
110556
|
110557
|
110568
|
110569
|
110570
|
110571
|
110572
|
111706
|
111707
|
111708
|
111709
|
111710
|
112125
|
112126
|
112127
|
112128
|
112129
|
112130
|
112131
|
112132
|
112133
|
112134
|
112135
|
113562
|
113563
|
113564
|
113565
|
113566
|
113567
|
113568
|
114803
|
114924
|
114925
|
114926
|
114927
|
114928
|
114929
|
114930
|
114931
|
114932