No Code Attached Yet Information Required bug
avatar PhocaCz
PhocaCz
10 Jul 2022

Steps to reproduce the issue

  • Enable Smart Search module and display a link to Smart Search component (Advanced Search parameter)
  • Create a menu link to Smart Search component
  • Click on this link in module or search something. This link randomly changes from its SEF format (menu link to component) to NO SEF format
    See GIF:

smart search

Expected result

  • immutable link

Actual result

  • changing link

System information (as much as possible)

Joomla 4.1.5
PHP 8.1.6
SEF enabled

avatar PhocaCz PhocaCz - open - 10 Jul 2022
avatar joomla-cms-bot joomla-cms-bot - change - 10 Jul 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 10 Jul 2022
avatar Fedik
Fedik - comment - 10 Jul 2022

Does it worked in prev version?
There was a fix for something similar #36750, merged to 4.1.5

avatar PhocaCz
PhocaCz - comment - 10 Jul 2022

Unfortunately, I don't know, I installed fresh Joomla 4.1.5 and never tested smart search before that.

avatar PhocaCz
PhocaCz - comment - 10 Jul 2022

It looks like this is some Router problem as the URL is always the same:

index.php?option=com_finder&view=search&f=1&Itemid=101

When the module is displayed on search view (component smart search), then the SEF URL is wrong, when it is displayed outside search view, then everything is OK.

avatar Fedik
Fedik - comment - 11 Jul 2022

I cannot reproduce.
Do you have set "Set ItemID" in the module that not linked to Search page, maybe?

avatar PhocaCz
PhocaCz - comment - 11 Jul 2022

This is my settings:

image

I just solved it when hiding the module for the search view: https://www.phoca.cz/apis/ (I will try to recreate the pate from scratch, maybe it can help :idea: )

avatar Hackwar Hackwar - change - 22 Feb 2023
Labels Added: bug
avatar Hackwar Hackwar - labeled - 22 Feb 2023
avatar Hackwar
Hackwar - comment - 27 Feb 2023

I can't replicate this. Do you maybe have an old override in your template? This was an issue with wrong markup in the layout.

avatar Quy Quy - change - 27 Feb 2023
Labels Added: Information Required
avatar Quy Quy - labeled - 27 Feb 2023
avatar Hackwar Hackwar - change - 9 Mar 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-03-09 11:32:29
Closed_By Hackwar
avatar Hackwar
Hackwar - comment - 9 Mar 2023

Closing as there has been no response in 10 days and I'm rather sure that this has been fixed in core in the past.

avatar Hackwar Hackwar - close - 9 Mar 2023

Add a Comment

Login with GitHub to post a comment