Feature PR-6.1-dev Pending

User tests: Successful: Unsuccessful:

avatar krishnagandhicode
krishnagandhicode
11 Mar 2026

Pull Request resolves #47357

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

Updated the getAssignedGroups method in the userModel to check for an active list fillter before it fallls back to the default group. I added logic to get the group_id from the session state using the com_users.users.default.filter path so that if a filter is active , it become the preselected group for the new user.

Testing Instructions

go to users -> manage
Use the filter dropdown to select a group (for eg Manager).
now create a new user
click Assigned User Groups

Actual result BEFORE applying this Pull Request

the form ignores the active filter and always defaults to checking the Registered group.

Expected result AFTER applying this Pull Request

The group you choose to filtered by in the list (e.g Manager) is already checked for you (as default).

Link to documentations

Please select:

  • Documentation link for guide.joomla.org:

  • No documentation changes for guide.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar krishnagandhicode krishnagandhicode - open - 11 Mar 2026
avatar krishnagandhicode krishnagandhicode - change - 11 Mar 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 11 Mar 2026
Category Administration com_users
avatar krishnagandhicode krishnagandhicode - change - 11 Mar 2026
Labels Added: PR-6.1-dev
avatar exlemor exlemor - test_item - 11 Mar 2026 - Tested successfully
avatar exlemor
exlemor - comment - 11 Mar 2026

I have tested this item ✅ successfully on d391dce

I have successfully tested this! Thanks @krishnagandhicode!


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

avatar adarshdubey03 adarshdubey03 - test_item - 11 Mar 2026 - Tested successfully
avatar adarshdubey03
adarshdubey03 - comment - 11 Mar 2026

I have tested this item ✅ successfully on d391dce


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

avatar chmst chmst - alter_testresult - 12 Mar 2026 - adarshdubey03: Tested successfully
avatar chmst chmst - alter_testresult - 12 Mar 2026 - exlemor: Tested successfully
avatar chmst
chmst - comment - 12 Mar 2026

Restored test results

avatar richard67 richard67 - change - 13 Mar 2026
Labels Added: Feature
avatar richard67 richard67 - alter_testresult - 13 Mar 2026 - exlemor: Tested successfully
avatar richard67 richard67 - alter_testresult - 13 Mar 2026 - adarshdubey03: Tested successfully
avatar richard67 richard67 - change - 13 Mar 2026
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 13 Mar 2026

RTC


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

avatar HLeithner
HLeithner - comment - 17 Mar 2026

This pull request has been automatically rebased to 6.2-dev.

avatar HLeithner HLeithner - change - 17 Mar 2026
Title
[6.1] Default new user's assigned group to active group filter
[6.2] Default new user's assigned group to active group filter
avatar HLeithner HLeithner - edited - 17 Mar 2026

Add a Comment

Login with GitHub to post a comment