Closed brianteeman closed 5 years ago
found the problem - PR incoming I hope
sorry - no idea why this is happening in this repo and not in the main repo
I can say that one message is coming from https://github.com/joomla/backend-template/blob/f0d19edf2580e11aaf713d5449452ef87e89c9de/administrator/components/com_menus/forms/filter_items.xml#L30 and one message from https://github.com/joomla/backend-template/blob/f0d19edf2580e11aaf713d5449452ef87e89c9de/administrator/components/com_menus/tmpl/items/default.php#L48-L51
Yes, the search layout outputs the message if https://github.com/joomla/backend-template/blob/release/administrator/components/com_menus/forms/filter_items.xml#L30 is set. So no need for https://github.com/joomla/backend-template/blob/release/administrator/components/com_menus/tmpl/items/default.php#L49-L52
(So the XML for every list view should be updated and the message removed from the tmpl layout)
I created a PR. Thx.
Steps to reproduce the issue
In the menu manager do a silly filter that will produce no results
Expected result
A single message "no matching results"
Actual result
You get the message twice
Additional comments
This is fine in the main repo I tested com_content and it didnt happen there