0cf2eccfe9
C4::VirtualShelves::GetRecentShelves contained some rather confused code The contents of the requested list are returned in an arrayref which was in its turn being wrapped needlessly in an array As a result the returned array always consisted of a single element irrespective of the number of lists. Made the routine return the arrayref, which can now be tested directly Unfortunately rather than fixing this we had previously coded around it assuming it to be a "design" decision. Have amended other calls of the subroutine resulting in some hopefully less obscure code Fixed logic error in the results template which displayed new list within a test for the presence of lists Removed the offset parameter from the sql in the routine as it was hardcoded to 0 i.e. the default value Signed-off-by: fdurand <frederic.durand@univ-lyon2.fr> Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> |
||
---|---|---|
.. | ||
cardview.pl | ||
detail.pl | ||
detailprint.pl | ||
export.pl | ||
ISBDdetail.pl | ||
issuehistory.pl | ||
labeledMARCdetail.pl | ||
MARCdetail.pl | ||
moredetail.pl | ||
search.pl | ||
showmarc.pl | ||
updateitem.pl |