Fix for Bug 6955, Toolbar on reading history broken
authorOwen Leonard <oleonard@myacpl.org>
Mon, 3 Oct 2011 12:59:18 +0000 (08:59 -0400)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Wed, 16 Nov 2011 12:39:23 +0000 (07:39 -0500)
commit75586d7ea73626705724623973c1e1aa222a6e6f
treee5b4a33509e41a479db0873257634be04d20bc4a
parentb8c840734f24a88a41267d7ff336bcbe20cb570a
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>
(cherry picked from commit 54226b60f3e31ba52d6be88eeebcaf534ada296f)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt