]> git.koha-community.org Git - koha.git/commit
Bug 23266: Add to cart fires twice on shelf page
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 4 Jul 2019 12:57:17 +0000 (12:57 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 6 Aug 2019 02:10:34 +0000 (02:10 +0000)
commit0c4881833bfa20421c62bbe74d738a84ac4e842e
tree94413cc6ff17795e45c9b1caa5c00867e3cc15ae
parent94ed3519efb6f65c7ca8b8b977328a863a9674be
Bug 23266: Add to cart fires twice on shelf page

Remove some duplicate functionality between opac-bottom and opac-shelves.

Test plan:
[1] Before this patch, add to cart from a shelf page. Observe that the
    basket count is incremented with 2.
[2] After this patch, it should be incremented with 1.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 076d5be767d0b6667ce8aab0ae7b56116e48d48f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit d8bddf489e40274a822d444729247d5de717b6dc)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt