Skip to content

[6.0] ListView class improvements#46165

Merged
softforge merged 2 commits intojoomla:6.0-devfrom
joomdonation:ListView_improvements
Sep 26, 2025
Merged

[6.0] ListView class improvements#46165
softforge merged 2 commits intojoomla:6.0-devfrom
joomdonation:ListView_improvements

Conversation

@joomdonation
Copy link
Copy Markdown
Contributor

Pull Request for Issue # .

Summary of Changes

This PR introduces several improvements to the ListView class and applies them to the views that extend it

  • Add code to add form control fields to initializeView method of the class so that we do not have to do it in views extends ListView
  • Introduce a batchAllowed property to store the result of the batch permission check. This avoids recalculating permissions in the layout when rendering batch layout dialog, result in small performance improvement
  • Correct type hints of some variables.

Testing Instructions

  • Use Joomla 6.0
  • Apply patch
  • Access to Banners Management, Contacts Management, Modules Management, User Actions Log and perform some actions like Publish/Unpublish, process batch items and make sure it is still work as before

Actual result BEFORE applying this Pull Request

Works

Expected result AFTER applying this Pull Request

Works

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

@brianteeman
Copy link
Copy Markdown
Contributor

I have tested this item ✅ successfully on d6fb646


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46165.

@Bodge-IT
Copy link
Copy Markdown
Contributor

I have tested this item ✅ successfully on 9b3f170

I saw no issues across the components, testing many of the batch actions.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46165.

@softforge softforge added this to the Joomla! 6.0.0 milestone Sep 26, 2025
@softforge softforge merged commit d7f2133 into joomla:6.0-dev Sep 26, 2025
31 checks passed
@softforge
Copy link
Copy Markdown
Contributor

Thank you @joomdonation and testers for all your work

@joomdonation
Copy link
Copy Markdown
Contributor Author

Thanks all for your help !

@joomdonation joomdonation deleted the ListView_improvements branch September 27, 2025 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants