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

--- Comment #1 from Owen Leonard <[email protected]> ---
Created attachment 167965
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167965&action=edit
Bug 37150: Can't delete single title from a list using the "Remove from list"
link

In the OPAC display of titles on a list, the "Remove from list" control
needs to trigger a POST operation instead of GET. This patch achieves
this by using the existing form, automatically checking the checkbox
corresponding to the "Remove" link which has been clicked.

To test, apply the patch and create a list if necessary, adding multiple
titles to it.

- View the contents of your list.
- Each title on your list should have a "Remove from this list" link.
  - Click one of these. You should see a modal confirmation, "Are you
    sure you want to remove this item from the list?"
    - Confirming should delete the title form the list.
    - Cancelling should close the modal and uncheck the title's checkbox
      * I include automatic un-checking of the checkbox because the user
        didn't "deliberately" check the box, and I want to avoid having
        that title included with "deliberately" checked items.
  - Check multiple checkboxes in the list of titles and click "Remove
    from list" at the top of the list.
    - You should see a modal confirmation, "Are you sure you want to
      remove these items from the list?"
      - Confirming should result in all checked titles being removed
        from the list.
      - Cancelling should hide the modal, and your checked checkboxes
        should remain the same.

Sponsored-by: Athens County Public Libraries

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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