[Koha-bugs] [Bug 31803] "remove from cart" button displayed even if not in cart

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 20 13:21:11 CEST 2022


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

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 142239
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=142239&action=edit
Bug 31803: "remove from cart" button displayed even if not in cart

This patch modifies CSS related to the "Remove from cart" button
associated with bibligraphic record views. A change in specificity of
buttons made by Bug 30952 made it so that the button was no longer
hidden correctly.

To test, apply the patch and rebuild the staff interface CSS
(https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client).

- Locate a bibliographic record in the staff interface and view the
  detail page.
- In the toolbar you should see an "Add to cart" button but not a
  "Remove from cart" button.
- The buttons should correctly toggle on and off as you add and remove
  the title from the cart.

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


More information about the Koha-bugs mailing list