collective / collective.cover

A sane, working, editor-friendly way of creating front pages and other composite pages. Working now, for mere mortals.
48 stars 55 forks source link

The clear filter button in the content chooser doesn't work #942

Closed wesleybl closed 1 year ago

wesleybl commented 1 year ago

When we have filtered contents, and we click on the "X" button to clear the filter, the contents tree continues listing the items of the previous filter, the amount of items found:

chrome-capture-2023-2-22

In Javascript console we see the error:

cover-8201835.js:1
Uncaught ReferenceError: portal_url is not defined
    at HTMLAnchorElement.<anonymous> (cover-8201835.js:1:14550)
    at HTMLDocument.dispatch (jquery.min.js:3:12444)
    at p.dispatch (plone-logged-in-compiled.js:8311:19)
    at r.handle (jquery.min.js:3:9173)