]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Sat, 21 Sep 2019 16:49:14 +0000 (16:49 +0000)
commit0b9bd169194476a8a33ef61e1ee82b2f0839c34a
tree755984077be70de581dd3af1a3c1c7ad7d8b648b
parentf8c8d6df0a571fd1e604e0cd03f47c512dca0d00
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>
(cherry picked from commit 6e013cf383f1f23b34e9878a86ea0b945833132f)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
opac/opac-basket.pl