Bugzilla – Attachment 66589 Details for
Bug 12747
Add configurable extra column in Z3950 search result
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug12747 - Small fix for add this field correctly in cataloging module
Bug12747---Small-fix-for-add-this-field-correctly-.patch (text/plain), 2.06 KB, created by
Philippe Audet-Fortin
on 2017-08-29 15:09:14 UTC
(
hide
)
Description:
Bug12747 - Small fix for add this field correctly in cataloging module
Filename:
MIME Type:
Creator:
Philippe Audet-Fortin
Created:
2017-08-29 15:09:14 UTC
Size:
2.06 KB
patch
obsolete
>From 4786d6b4e93fca83b8a68fc48ee7d2ed32aca696 Mon Sep 17 00:00:00 2001 >From: Bouzid Fergani <bouzid.fergani@inlibro.com> >Date: Thu, 9 Mar 2017 10:38:15 -0500 >Subject: [PATCH] Bug12747 - Small fix for add this field correctly in > cataloging module > >--- > C4/Breeding.pm | 4 +++- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt | 4 ++-- > 2 files changed, 5 insertions(+), 3 deletions(-) > >diff --git a/C4/Breeding.pm b/C4/Breeding.pm >index 8f35f61..cfa5626 100644 >--- a/C4/Breeding.pm >+++ b/C4/Breeding.pm >@@ -226,12 +226,14 @@ sub Z3950Search { > push @servers, {id => $id}; > } > >- > $template->param( > breeding_loop => \@breeding_loop, > servers => \@servers, > errconn => \@errconn > ); >+ $template->param( >+ additionalFields => '1' >+ ) if C4::Context->preference('AdditionalFieldsInZ3950ResultSearch'); > } > > sub _build_query { >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt >index c16eba9..3f8d3b0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt >@@ -132,7 +132,7 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : > <th>Author</th> > <th>ISBN</th> > <th>LCCN</th> >- [%- IF Koha.Preference( 'AdditionalFieldsInZ3950ResultSearch' ) -%] >+ [% IF additionalFields %] > <th>Additional fields</th> > [% END %] > <th>Preview</th> >@@ -147,7 +147,7 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : > <td>[% breeding_loo.author %]</td> > <td>[% breeding_loo.isbn %]</td> > <td>[% breeding_loo.lccn %]</td> >- [%- IF Koha.Preference( 'AdditionalFieldsInZ3950ResultSearch' ) -%] >+ [% IF additionalFields %] > <td> > <dl> > [% FOREACH addnumberfield IN breeding_loo.addnumberfields %] >-- >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 12747
:
30713
|
36823
|
37836
|
37893
|
38221
|
38233
|
38240
|
38286
|
38439
|
38440
|
38456
|
38457
|
38458
|
38460
|
41313
|
41317
|
41318
|
41319
|
58424
|
58425
|
58426
|
60965
|
66586
|
66587
|
66588
|
66589
|
67314
|
67315
|
68214
|
68215
|
69297
|
72706
|
72896
|
72897
|
72898
|
72979
|
72980
|
72981
|
73930
|
73955
|
74035
|
74037
|
74038
|
74039
|
74040
|
74783
|
74784
|
74785
|
74786
|
74787
|
75096
|
77729
|
78270
|
78271
|
78272
|
78687
|
78688
|
79349
|
79350
|
79351