Koha/catalogue
Colin Campbell 0cf2eccfe9 Bug 5529 Absence or Presence of lists not being reliably returned
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>
2011-04-08 10:51:47 +12:00
..
cardview.pl Bug 4330 : Adding some copyright BibLibre statements 2011-03-21 10:57:20 +13:00
detail.pl Bug 4421: Add alternate holdings display and prefs 2011-04-02 06:56:02 +13:00
detailprint.pl Bug 2505 - Add commented use warnings where missing in the catalogue/ directory 2010-04-21 20:25:13 +12:00
export.pl Bug 2505 - Add commented use warnings where missing in the catalogue/ directory 2010-04-21 20:25:13 +12:00
ISBDdetail.pl Fix for Bug 3659, Add place hold option from patron checkout tab 2011-03-15 15:48:09 +13:00
issuehistory.pl Corrected: Fix for Bug 4529, columns on circ history all screwy 2010-05-24 10:43:28 -04:00
labeledMARCdetail.pl Fix for Bug 3659, Add place hold option from patron checkout tab 2011-03-15 15:48:09 +13:00
MARCdetail.pl Bug 4330 : fixing copyright mail from chris c 2010-12-16 on patches ML 2011-03-21 10:39:06 +13:00
moredetail.pl Bug 5547: Hide Lost Items dev 2011-03-30 20:20:05 +13:00
search.pl Bug 5529 Absence or Presence of lists not being reliably returned 2011-04-08 10:51:47 +12:00
showmarc.pl Bug 4330 : Adding some copyright BibLibre statements 2011-03-21 10:57:20 +13:00
updateitem.pl Fix for Bug 4853 - Rights needed to renew a document 2011-03-06 08:26:35 +13:00