]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 30 Jul 2019 06:08:02 +0000 (08:08 +0200)
commitd8bddf489e40274a822d444729247d5de717b6dc
tree7abb2fb0e293a0e275d12da824bd1d4e57305483
parentcea0189b1555859a7ae55cdc6763e6e0dc43574a
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>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt