[Koha-bugs] [Bug 27767] Number of elements in cart is not updated

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 3 11:39:38 CET 2021


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

--- Comment #3 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 117562
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=117562&action=edit
Bug 27767: Update the number of elements in cart if biblio is removed

If a bibliographic record is added to the cart then removed (from the
detail page or using the batch delete tool), the number of elements in
the cart is never updated.

This patch reworks how the cookie "intranet_bib_list" is handled in
basket.js. The current code is really bad and error prone (parsing a string).
Here we are handling the biblionumbers using a JSON serialised array,
that makes everything much more simple.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list