]> git.koha-community.org Git - koha.git/commit
Fixes bug 5232: Shelfname won't display on high-numbered lists
authorIan Walls <ian.walls@bywatersolutions.com>
Tue, 30 Nov 2010 07:25:30 +0000 (02:25 -0500)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Wed, 1 Dec 2010 21:54:51 +0000 (16:54 -0500)
commitfaead6cbd2ef6693c0eed2db14d7776f432b1307
tree56123438a6542a066a11ec72ec6411e5ba5cef77
parentbd5e6e9d89cd85fa3bf35c4fc3c90471380bd0f3
Fixes bug 5232: Shelfname won't display on high-numbered lists

This bugfix adds an explicit GetShelf for the specific shelfnumber when viewing that individual shelfnumber.  This captures the
shelfname, which was originally pulled from shelflist->{$shelfnumber}, which may not have been populated if the List in question was
beyond the 20th private or public list in the system.

Also adds a more explicit sort: the sort from the CGI takes top priority, then it falls back to the default sort for the list, and
ultimate falls to 'title' if neither CGI nor default sort exist.

Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Nicole Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 31439fc51adc7e32a2eff6608bf91e08fcbf0ade)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
C4/VirtualShelves/Page.pm