Bugzilla – Attachment 5849 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]
Fix for Bug 6955, Toolbar on reading history broken
Fix-for-Bug-6955-Toolbar-on-reading-history-broken.patch (text/plain), 1.67 KB, created by
Paul Poulain
on 2011-10-12 12:08:50 UTC
(
hide
)
Description:
Fix for Bug 6955, Toolbar on reading history broken
Filename:
MIME Type:
Creator:
Paul Poulain
Created:
2011-10-12 12:08:50 UTC
Size:
1.67 KB
patch
obsolete
>From 60deefff2e02cdb032ca379dec8758ab7e65af06 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 > >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. > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >To test: >- check toolbar on top of patron reading history with no entries >- check toolbar on top of patron reading history after a few checkouts > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Signed-off-by: Paul Poulain <paul.poulain@biblibre.com> >--- > .../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 1ab1130..46aef48 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> > > <div id="pagertable_readingrec"> >@@ -78,7 +79,9 @@ > </tr> > [% END %] > </table> >- >+[% ELSE %] >+<div class="dialog message">This patron has no circulation history.</div> >+[% END %] > </div> > </div> > >-- >1.7.4.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 6955
:
5673
|
5676
|
5757
| 5849