]> git.koha-community.org Git - koha.git/commit
Bug 23530: Fix cart showing only hidden items
authorMason James <mtj@kohaaloha.com>
Tue, 3 Sep 2019 04:02:32 +0000 (16:02 +1200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 9 Sep 2019 08:17:35 +0000 (10:17 +0200)
commit6e013cf383f1f23b34e9878a86ea0b945833132f
tree1f27b4a31eb08d7874c0e380b6f33c8856b2b74f
parent64825cb321fc63c814bf5ada06ae043cfb4f2708
Bug 23530: Fix cart showing only hidden items

Items hidden with the OpacHiddenItems system preference
were still displayed in the OPAC cart and the normal items
were hidden instead. This patch corrects the display.

To test:
- prep a test bib with hidden and other items using
  the OpacHiddenItems system preference
- add bib to cart
- observe that hidden items are displayed - non-hidden items are hidden
- apply patch, reload page
- observe that hidden items are hidden, non-hidden items are displayed

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 60ce66b6b658bfbe0d9ca459afc673042c7a854f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
opac/opac-basket.pl