Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@richard67
Copy link
Member

@richard67 richard67 commented Nov 17, 2025

Pull Request for Issue # .

Alternative to PR #46449 .

Summary of Changes

This pull request (PR) reverts PR #46081 , which has been merged before 5.4.1-rc1 and so is part of that pre-release, but not has been released yet with a stable release.

The PR was classified as bug fix as its associated issue #43969 was classified as bug, but that was possibly wrong.

Looking deeper into it, I meanwhile think it is a new feature and so should have been made for 6.1-dev.

When I had set RTC for the PR, I was not aware of it, so it is partly my mistake.

The PR has some issues which would be fixed with PR #46449 , but it still doesn't result in an ideal solution, e.g. it still needs to access the input in the model, see the review discussion in that PR.

So the clean way would be to revert PR #46081 before 5.4.1 stable, re-open issue #43969 and change that from bug to feature and implement a better solution for 6.1-dev.

For the revert part I have created this PR here.

Testing Instructions

  1. Go to "Administrator → Components → Smart Search → Filters".
  2. Create a new filter if none exists yet.
  3. Select a filter to edit.
  4. Use "Save as Copy".
  5. Go back to the list view.
  6. Check if the alias is shown in the Search Filter list.

Actual result BEFORE applying this Pull Request

A new filter is created with new title and alias.

The alias is shown in the Search Filter list.

Expected result AFTER applying this Pull Request

An error alert "Save failed with the following error: Another Filter has the same alias." is shown.

The alias is not shown in the Search Filter list.

This is the same behaviour as with 5.4.0 or previous versions.

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

@ceford
Copy link
Contributor

ceford commented Nov 17, 2025

I have tested this item ✅ successfully on 7e64d49

Without the patch the alias is shown in the Search Filter list. With the patch it is not shown. It could be useful to show the alias in either case.


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

@richard67
Copy link
Member Author

richard67 commented Nov 17, 2025

Without the patch the alias is shown in the Search Filter list. With the patch it is not shown. It could be useful to show the alias in either case.

@ceford Yes, that should be part of the solution for 6.1.

P.S.: I've updated the testing instructions to show that change, too.

Copy link
Contributor

@muhme muhme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR was applied with gh and the two files were compared. They were changed in PR 46081, which is to be withdrawn, so that the files now have the same content as before PR 46081 with 95a83b5.

  • administrator/components/com_finder/src/Model/FilterModel.php
  • administrator/components/com_finder/tmpl/filters/default.php

@muhme
Copy link
Contributor

muhme commented Nov 18, 2025

I have tested this item ✅ successfully on 7e64d49

Tested with JBT and applied PR with Patch Tester

@muhme muhme merged commit 6f3953a into joomla:5.4-dev Nov 18, 2025
60 checks passed
@muhme muhme added this to the Joomla! 5.4.1 milestone Nov 18, 2025
@muhme
Copy link
Contributor

muhme commented Nov 18, 2025

Thank you @richard67 for this PR. Thank you @ceford for testing.

@richard67 richard67 deleted the 5.4-dev-revert-pr-46081 branch November 18, 2025 12:31
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.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.