Koha/koha-tmpl/opac-tmpl/bootstrap/js
Owen Leonard 2cd49034c4 Bug 21479: Fix remove from cart links at the OPAC (should remove only 1)
This patch changes the way biblionumbers are passed to the cart script
for adding and removing single items. The title's biblionumber is now
stored in a data-attribute on the links for adding and removing. This
should be a more robust, unified way to handle these single-item
operations.

To test, apply the patch and enable the opacbookbag system preference.

Test adding and removing items from the cart from various pages using
various methods:

 - By clicking an "Add to your cart" / "Remove" link in search results
 - By clicking an "Add to your cart" / "Remove" link on a detail page
 - By checking boxes in search results and adding via the dropdown

Each operation should work correctly.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2018-10-12 15:39:46 -03:00
..
amazonimages.js Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
authtoresults.js Bug 17153: Redirect to search when logging in from search 2018-06-29 20:49:51 +00:00
bakertaylorimages.js Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
basket.js Bug 21479: Fix remove from cart links at the OPAC (should remove only 1) 2018-10-12 15:39:46 -03:00
browserid_include.js Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
coce.js Bug 9580 Cover images from Coce, a remote image URL cache 2015-04-01 09:31:42 -03:00
datatables.js Bug 7547: printing a sorted cart 2018-07-02 11:48:41 +00:00
global.js Bug 4045 - No check for maximum number of allowed holds. 2014-08-07 11:47:08 -03:00
google-jackets.js Bug 7594: Google Cover Javascript contains hardcoded CSS style 2016-03-23 23:07:36 +00:00
googleindictransliteration.js Bug 13144: Google transliteration does not work on bootstrap 2014-11-06 09:52:22 -03:00
localcovers.js BUG 11602: [ENH] Fix localcover display 2015-12-04 16:12:52 +00:00
openlibrary.js Bug 16615: Follow up - missed a spot 2016-08-18 15:38:26 +00:00
overdrive.js Bug 21082: Update OverDrive authentication method 2018-10-09 11:04:23 +00:00
recordedbooks.js Bug 17602: Move spinner location to include file 2018-10-01 13:56:59 +00:00
script.js Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
tags.js Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00