You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In plone/Products.CMFPlone#3591, it's reported that the message Page: 1 of 0 shown is displayed when there are no pages. I think I've found the issue in mockup, here:
In plone/Products.CMFPlone#3591, it's reported that the message
Page: 1 of 0 shown
is displayed when there are no pages. I think I've found the issue in mockup, here:mockup/src/pat/structure/templates/paging.xml
Lines 46 to 51 in 51e2310
I think the fix should be here, checking that response.total is zero and setting this.state.totalPages to 1:
mockup/src/pat/structure/js/collections/result.js
Lines 70 to 73 in 51e2310
Does this make sense? Should I send a PR?
The text was updated successfully, but these errors were encountered: