Bugzilla – Attachment 4516 Details for
Bug 6522
Search result list misaligned columns if AmazonCoverImages is off
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Alternate solution
0001-Alternate-fix-for-Bug-6522-search-result-list-broken.patch (text/plain), 2.01 KB, created by
Owen Leonard
on 2011-06-21 14:42:16 UTC
(
hide
)
Description:
Alternate solution
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2011-06-21 14:42:16 UTC
Size:
2.01 KB
patch
obsolete
>From 922e4a03280c6ae830f7aec3ab7f57f28b69cdd1 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 21 Jun 2011 10:37:47 -0400 >Subject: [PATCH] Alternate fix for Bug 6522 - search result list broken >Content-Type: text/plain; charset="utf-8" > >- Adding back the colspan removed in a previous commit >- Correcting the scope of two template variables. > >Before applying this patch, the search results page in the >staff client will have misaligned headers if AmazonCoverImages >is turned off. After applying this patch headers should >appear correctly with AmazonCoverImages on or off. >--- > .../prog/en/modules/catalogue/results.tt | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >index 456cacf..e1f84b8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >@@ -412,13 +412,13 @@ YAHOO.util.Event.onContentReady("searchheader", function () { > <table> > <tr> > [% IF ( AmazonEnabled ) %][% IF ( AmazonCoverImages ) %]<th> </th>[% END %][% END %] >- <th>Results</th> >+ <th colspan="2">Results</th> > <th>Location</th> > </tr> > <!-- Actual Search Results --> > [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] > [% IF ( loop.odd ) %]<tr>[% ELSE %]<tr class="highlight">[% END %] >- [% IF ( SEARCH_RESULT.AmazonEnabled ) %][% IF ( SEARCH_RESULT.AmazonCoverImages ) %] >+ [% IF ( AmazonEnabled ) %][% IF ( AmazonCoverImages ) %] > <td> > <a class="p1" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber |url %]"> > >-- >1.7.3 >
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 6522
:
4514
|
4515
|
4516
|
4517