Language Change Feature PR-6.2-dev Pending

User tests: Successful: Unsuccessful:

avatar Reda-Muhamed
Reda-Muhamed
13 Jul 2026

Pull Request resolves # .

Summary of Changes

This PR adds an optional Active User Only mode to the Smart Search (com_finder) filter author section.

Existing static author filtering remains available and unchanged. Administrators can still select one or more specific authors as before. When the new option is disabled, the filter behaves exactly as it did before this PR.

When Active User Only is enabled, the filter becomes dynamic for the Author branch. Instead of storing a fixed author selection, Smart Search resolves the currently logged-in user’s Author taxonomy node when the search query is processed.

This allows a single Smart Search filter, for example “My Articles”, to show content authored by the current user.

How it works

The filter stores an active_user_only flag in the filter params.

When the flag is disabled:

  • author checkboxes are shown
  • selected author taxonomy nodes are saved normally
  • existing static author filtering behavior is preserved

When the flag is enabled:

  • static Author branch selections are ignored/removed from the saved filter data
  • the current user’s Author taxonomy node is resolved at search time
  • if the current user has no Author taxonomy node, the filter returns no results

Testing Instructions

  1. Log into the Joomla administrator.
  2. Ensure there are at least two users who have authored indexed articles, for example User A and User B.
  3. Go to Components -> Smart Search -> Index.
  4. Click Index to make sure author taxonomy nodes are created.
  5. Go to Components -> Smart Search -> Filters.
  6. Create a new filter.
  7. Expand the Search by Author section.

Static author filtering

  1. Leave Active User Only set to No.
  2. Select a specific author from the author checkbox list.
  3. Save the filter.
  4. Create or edit a menu item of type Smart Search -> Search and assign this filter.
  5. On the frontend, perform a search.
  6. Confirm that results are limited to the selected static author.

Dynamic active-user filtering

  1. Edit the filter again.
  2. Set Active User Only to Yes.
  3. Save the filter.
  4. Log into the frontend as User A and perform a search.
  5. Confirm that results only show content authored by User A.
  6. Log out, then log in as User B.
  7. Perform the same search.
  8. Confirm that results only show content authored by User B.

User with no authored content

  1. Log into the frontend as a user who has no indexed authored content.
  2. Perform a search using the same filter.
  3. Confirm that no results are returned.

Actual result BEFORE applying this Pull Request

Smart Search author filtering was static only. Administrators could select fixed author taxonomy nodes, but could not create one reusable filter that automatically matched the currently logged-in user.

Expected result AFTER applying this Pull Request

Static author filtering continues to work as before.

Administrators can optionally enable Active User Only to make the Author branch dynamic. In that mode, Smart Search resolves the current user’s Author taxonomy node during query processing. If the current user has no indexed authored content, the filter returns no results.

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 Reda-Muhamed Reda-Muhamed - open - 13 Jul 2026
avatar Reda-Muhamed Reda-Muhamed - change - 13 Jul 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 13 Jul 2026
Category Administration com_finder Language & Strings JavaScript
avatar brianteeman
brianteeman - comment - 14 Jul 2026

This doesnt ADD dynamic author filtering it Replaces author filtering with dynamic author filtering

Either that is a bug in this PR or its a breaking change which causes the loss of useful functionality

Before this PR

image

With this PR

image
avatar brianteeman brianteeman - test_item - 14 Jul 2026 - Tested unsuccessfully
avatar brianteeman
brianteeman - comment - 14 Jul 2026

I have tested this item 🔴 unsuccessfully on 6509a9f


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

avatar brianteeman
brianteeman - comment - 14 Jul 2026

I have tested this item 🔴 unsuccessfully on 6509a9f


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

avatar chmst
chmst - comment - 14 Jul 2026

If you swich Active user only to "no" you can select the users?
But I agree that the switch should be "no" as default.

avatar Reda-Muhamed Reda-Muhamed - change - 14 Jul 2026
The description was changed
avatar Reda-Muhamed Reda-Muhamed - edited - 14 Jul 2026
avatar Reda-Muhamed
Reda-Muhamed - comment - 14 Jul 2026

I have tested this item 🔴 unsuccessfully on 6509a9f

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

Thanks Brian, the intention is to add dynamic author filtering, not replace the existing static author filtering. (I forgot and use the old PR template )
when Active User Only is disabled, the existing author checkbox list remains visible and works exactly as before. The dynamic behaviour will only apply when the new option is enabled.

avatar Reda-Muhamed
Reda-Muhamed - comment - 14 Jul 2026

I have tested this item 🔴 unsuccessfully on 6509a9f

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

Thanks Brian, the intention is to add dynamic author filtering, not replace the existing static author filtering. (I forgot and use the old PR description, but I updated it)
when Active User Only is disabled, the existing author checkbox list remains visible and works exactly as before. The dynamic behaviour will only apply when the new option is enabled.

avatar brianteeman
brianteeman - comment - 14 Jul 2026

Then theactive user only must default to disabled

avatar chmst
chmst - comment - 14 Jul 2026

The filter shows the same selection as usual but adds a button.

grafik
avatar chmst
chmst - comment - 14 Jul 2026

The filter shows the same selection as usual but adds a button. It is disabled by default

grafik
avatar Reda-Muhamed
Reda-Muhamed - comment - 14 Jul 2026

Then theactive user only must default to disabled

the default option is "no"

avatar brianteeman
brianteeman - comment - 14 Jul 2026

weird - just rechecked and it is disabled - no idea why i thought it was not

avatar brianteeman brianteeman - test_item - 14 Jul 2026 - Tested successfully
avatar brianteeman
brianteeman - comment - 14 Jul 2026

I have tested this item ✅ successfully on 6509a9f


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

avatar brianteeman
brianteeman - comment - 14 Jul 2026

I have tested this item ✅ successfully on 6509a9f


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

avatar CSGoat0 CSGoat0 - test_item - 17 Jul 2026 - Tested successfully
avatar CSGoat0
CSGoat0 - comment - 17 Jul 2026

I have tested this item ✅ successfully on 6509a9f


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

avatar CSGoat0
CSGoat0 - comment - 17 Jul 2026

I have tested this item ✅ successfully on 6509a9f


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

avatar richard67 richard67 - change - 17 Jul 2026
Status Pending Ready to Commit
Labels Added: Language Change Feature PR-6.2-dev
avatar richard67
richard67 - comment - 17 Jul 2026

RTC


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

avatar richard67
richard67 - comment - 17 Jul 2026

RTC


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

Add a Comment

Login with GitHub to post a comment