]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 15 Jul 2019 10:27:58 +0000 (11:27 +0100)
commit076d5be767d0b6667ce8aab0ae7b56116e48d48f
treeb2054dbf26825a33a792017d6e927f9502f7f5e2
parentf447658f850bca5ebcdb6f29a5572c1c1707f942
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>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt