https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21479

--- Comment #1 from Jonathan Druart <jonathan.dru...@bugs.koha-community.org> 
---
Created attachment 79852
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=79852&action=edit
Bug 21479: Fix remove from cart - OPAC

This bug affects all stable releases and seems to have been there for a
long time.

To recreate:
- Launch a search at the OPAC
- Add 2 elements to the cart
- Remove one
=> Cart is empty

Note that it does not exist on the staff interface

The code in opac-bottom is only for the detail page, but the evenement
binding was done on the result search page as they have the same selector
(.cartRemove)
Using a more specific selector (already used for "add to shelf") fixes the
problem.

Test plan:
Add and remove elements to/from your cart
On both search and detail view

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to