[Koha-bugs] [Bug 5529] New: Staff client shows "Your lists:" and "public lists:" when there are none
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Dec 20 21:56:08 CET 2010
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5529
Summary: Staff client shows "Your lists:" and "public lists:"
when there are none
Change sponsored?: ---
Product: Koha
Version: rel_3_4
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: Virtual Shelves
AssignedTo: gmcharlt at gmail.com
ReportedBy: oleonard at myacpl.org
QAContact: koha-bugs at lists.koha-community.org
Estimated Hours: 0.0
On the staff client search results page the "Add to" menu offers a list of
private and public lists to which results can be added. If there are no private
and public lists, the menu still lists the labels, "Your lists:" and "public
lists:"
In search.pl:
if (@pubshelves) {
$template->param( addpubshelves => scalar (@pubshelves));
$template->param( addpubshelvesloop => @pubshelves);
}
if (@barshelves) {
$template->param( addbarshelves => scalar (@barshelves));
$template->param( addbarshelvesloop => @barshelves);
}
The script passes template variables with the list count and list contents if
@pubshelves and @barshelves evaluate as true. These variables will evaluate as
true even if there are no lists in the database.
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the Koha-bugs
mailing list