Bugzilla – Attachment 36823 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]
Fix table cell
Fix-table-cell.patch (text/plain), 2.74 KB, created by
simith.doliveira
on 2015-03-11 19:51:30 UTC
(
hide
)
Description:
Fix table cell
Filename:
MIME Type:
Creator:
simith.doliveira
Created:
2015-03-11 19:51:30 UTC
Size:
2.74 KB
patch
obsolete
>From 74d950aa01ae2916c8b41b603fbb7e31ed4bdc95 Mon Sep 17 00:00:00 2001 >From: simith <simith@inlibro.com> >Date: Wed, 11 Mar 2015 15:43:39 -0400 >Subject: [PATCH] Fix table cell > >http://bugs.koha-community.org/show_bug.cgi?id=12747 >--- > C4/Breeding.pm | 16 ++++++++-------- > .../intranet-tmpl/prog/en/modules/acqui/z3950_search.tt | 11 +++++++---- > 2 files changed, 15 insertions(+), 12 deletions(-) > >diff --git a/C4/Breeding.pm b/C4/Breeding.pm >index f95fa15..f52d819 100644 >--- a/C4/Breeding.pm >+++ b/C4/Breeding.pm >@@ -222,6 +222,14 @@ sub Z3950Search { > $oConnection[$_]->destroy(); > } > >+ my $pref_addnumber = C4::Context->preference('AdditionalFieldsInZ3950ResultSearch'); >+ $pref_addnumber =~ s/\s+//g; >+ if ($pref_addnumber){ >+ $template->param( >+ additionalFields => '1', >+ ); >+ } >+ > $template->param( > breeding_loop => \@breeding_loop, > servers => \@servers, >@@ -731,14 +739,6 @@ sub Z3950SearchAuth { > push @servers, {id => $id}; > } > >- my $pref_addnumber = C4::Context->preference('AdditionalFieldsInZ3950ResultSearch'); >- $pref_addnumber =~ s/\s+//g; >- if ($pref_addnumber){ >- $template->param( >- additionalFields => '1', >- ); >- } >- > $template->param( > breeding_loop => \@breeding_loop, > servers => \@servers, >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 98dfcaa..046e402 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 >@@ -184,10 +184,13 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : > <td>[% breeding_loo.isbn %]</td> > <td>[% breeding_loo.lccn %]</td> > [% IF additionalFields %] >- <td class="single-line"> >- [% FOREACH addnumberfield IN breeding_loo.addnumberfields %] >- [% addnumberfield %]: [% breeding_loo.$addnumberfield %]<br/> >- [% END %] >+ <td> >+ <dl> >+ [% FOREACH addnumberfield IN breeding_loo.addnumberfields %] >+ <dt>[% addnumberfield %]:</dt> >+ <dd>[% breeding_loo.$addnumberfield %]</dd> >+ [% END %] >+ </dl> > </td> > [% END %] > <td><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid %]" title="MARC" rel="gb_page_center[600,500]">MARC</a> |Â <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&importid=[% breeding_loo.breedingid %]" title="Card" rel="gb_page_center[600,500]">Card</a></td> >-- >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