Opened 11 years ago
Closed 11 years ago
#27558 closed defect (bug) (fixed)
WP Views need to load some sort of "no items found" placeholder view if the item(s) needed for the preview are not found
Reported by: | gcorne | Owned by: | azaozz |
---|---|---|---|
Milestone: | 3.9 | Priority: | normal |
Severity: | major | Version: | 3.9 |
Component: | Editor | Keywords: | has-patch commit ui-feedback |
Focuses: | javascript | Cc: |
Description
WP Views work by replacing the shortcode with a placeholder that is then filled with a preview after data is retrieved for the view via ajax calls. If there isn't any data, we need to populate the preview with some sort of "no items found" content body so that the view can be edited and is visible.
Attachments (2)
Change History (5)
Note: See
TracTickets for help on using
tickets.
27558-01.patch adds a "No items found." state which is displayed when rendering the gallery
wpview
when no attachments are found and an ajax call to fetch attachments is not in progress.