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

            Bug ID: 43192
           Summary: Lists cannot be deleted from OPAC
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Lists
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]
  Target Milestone: ---

Lists cannot be deleted from the OPAC if they contain items. To reproduce:
Log into the OPAC and add a list
Add an item to that list. 
Try to delete it - nothing happens.

It generates the following errors in the browser console:

Uncaught TypeError: s.escapeHtml is not a function
  at escape_str (global_25.1106000.js:53:26)
  at HTMLButtonElement.<anonymous> (opac-shelves.pl:2094:81)
  at HTMLButtonElement.dispatch (jquery-3.6.0.min_25.1106000.js:2:43064)
  at v.handle (jquery-3.6.0.min_25.1106000.js:2:41048)

To get around this, it is necessary to delete all the items from the list first
before you can successfully delete the list

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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