User tests: Successful: Unsuccessful:
Pull Request resolves # .
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.
The filter stores an active_user_only flag in the filter params.
When the flag is disabled:
When the flag is enabled:
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.
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.
Please select:
| Status | New | ⇒ | Pending |
| Category | ⇒ | Administration com_finder Language & Strings JavaScript |
I have tested this item 🔴 unsuccessfully on 6509a9f
I have tested this item 🔴 unsuccessfully on 6509a9f
If you swich Active user only to "no" you can select the users?
But I agree that the switch should be "no" as default.
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.
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.
Then theactive user only must default to disabled
Then theactive user only must default to disabled
the default option is "no"
weird - just rechecked and it is disabled - no idea why i thought it was not
I have tested this item ✅ successfully on 6509a9f
I have tested this item ✅ successfully on 6509a9f
I have tested this item ✅ successfully on 6509a9f
I have tested this item ✅ successfully on 6509a9f
| Status | Pending | ⇒ | Ready to Commit |
| Labels |
Added:
Language Change
Feature
PR-6.2-dev
|
||
RTC
RTC
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
With this PR