Bugzilla – Attachment 5676 Details for
Bug 6955
Toolbar on reading history broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix
0001-Fix-for-Bug-6955-Toolbar-on-reading-history-broken.patch (text/plain), 1.41 KB, created by
Owen Leonard
on 2011-10-03 13:33:34 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2011-10-03 13:33:34 UTC
Size:
1.41 KB
patch
obsolete
>From b171ae240a6d51b4b21ae8bf01f9dd56f2e85ea4 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 3 Oct 2011 08:59:18 -0400 >Subject: [PATCH] Fix for Bug 6955, Toolbar on reading history broken >Content-Type: text/plain; charset="utf-8" > >Table sorter script causes error if there is no <tbody> to sort. >JS errors cause the YUI toolbar js to abort, causing the problem >observed. When there are no results the whole table should be >omitted and a message displayed in its place. >--- > .../prog/en/modules/members/readingrec.tt | 5 ++++- > 1 files changed, 4 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt >index c61006b..ac5ee68 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt >@@ -30,6 +30,7 @@ > <div class="yui-b"> > [% INCLUDE 'circ-toolbar.inc' %] > <h1>Circulation History</h1> >+[% IF ( loop_reading ) %] > <form action="/cgi-bin/koha/members/readingrec.pl" method="get"><input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber %]" /></form> > > <span id="pagertable_readingrec" class="pager"> >@@ -93,7 +94,9 @@ > </tr> > [% END %] > </table> >- >+[% ELSE %] >+<div class="dialog message">This patron has no circulation history.</div> >+[% END %] > </div> > </div> > >-- >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 6955
:
5673
|
5676
|
5757
|
5849