feat: add filter_snapshots.xml and search tools to snapshots list view #174
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The Snapshots list view (
tmpl/snapshots/default.php) has no search/filter toolbar, unlike the Backups and Profiles views which both useJoomla\CMS\Layout\LayoutHelper::render('joomla.searchtools.default')with corresponding filter XML forms.Additionally,
Snapshots/HtmlView.phpdoes not set$this->filterFormor$this->activeFilters, which means even if a filter form existed, the search tools wouldn't render.What exists vs. what's missing
filter_backups.xmlfilter_profiles.xmlWhat to do
forms/filter_snapshots.xmlwith search field and status filter (complete/fail)Snapshots/HtmlView.phpto set$this->filterFormand$this->activeFiltersLayoutHelper::render('joomla.searchtools.default')totmpl/snapshots/default.phpSnapshotsModel::getListQuery()(currently only has search filter)Why
Users with many snapshots have no way to search or filter the list. This is inconsistent with the other two list views.
Branch created:
feature/174-feat-add-filter-snapshots-xml-and-searchConfirmed still valid @ 02.56.05 — keep open (canonical snapshots filter/search issue; #190 closed as duplicate).
forms/hasfilter_backups.xmlandfilter_profiles.xmlbut nofilter_snapshots.xml, andtmpl/snapshots/default.phphas noLayoutHelper::render('joomla.searchtools.default'). No filter/search UI on the snapshots list.