The module ordering controller task which is used in the ordering form field should use the model to fetch the modules for the same client and position.
Testing Instructions
Edit a module and click on the order form field.
Actual result BEFORE applying this Pull Request
The modules for the same client and position are listed.
Expected result AFTER applying this Pull Request
The modules for the same client and position are listed.
Tested successfully in Joomla 4.2-alpha3-dev of 29 April in Wampserver 3.2.8 using PHP 8.0.15.
Had to change Error Reporting in Global Configuration from 'Maximum' to 'Simple' to get the Ordering info displayed, because of the PHP notice:
Notice: Only variable references should be returned by reference in C:\www\joomla42\libraries\src\MVC\Model\BaseDatabaseModel.php on line 418
I have tested this item✅ successfully on 9d8af1d
Tested successfully in Joomla 4.2-alpha3-dev of 29 April in Wampserver 3.2.8 using PHP 8.0.15.
Had to change Error Reporting in Global Configuration from 'Maximum' to 'Simple' to get the Ordering info displayed, because of the PHP notice:
Notice: Only variable references should be returned by reference in C:\www\joomla42\libraries\src\MVC\Model\BaseDatabaseModel.php on line 418
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37635.