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

--- Comment #1 from Owen Leonard <[email protected]> ---
Created attachment 202664
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=202664&action=edit
Bug 43192: Lists cannot be deleted from OPAC

The new escape_str function in the OPAC seems to be unhappy when passed
a Number. This patch converts the variable to a string before applying
escapeHtml.

To test, apply the patch and log in to the OPAC.

- If necessary, add a list.
- Search for records in the catalog and add one or more of the results
  to your new list.
- Go to Lists -> Your lists.
- In the list of your lists, click the "Delete" link for the list you
  added records to.
  - You should see a confirmation modal, "Are you sure you want to
   delete this list?" showing the name of the list and the number of
   items on it.
  - Clicking "Yes, delete" should delete the list.

Sponsored-by: Athens County Public Libraries

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to