No Code Attached Yet Information Required
avatar NicolasJOS
NicolasJOS
29 Jun 2022

Steps to reproduce the issue

I needed to create a filtered search : Components > Advanced Search > Search Filter
I wanted to apply this filter to my search field, two possible methods:

  • I tried to create an "Advanced search" menu link to which I applied my filter, the results are indeed filtered.
  • I then tried to create an "advanced search module" to which I applied my filter, but in this case the results are not filtered!

Expected result

Actual result

The filter is applicable to a "Advanced Search Module" but has no effect.

System information (as much as possible)

Joomla 4.1.5
php 8.0

Additional comments

avatar NicolasJOS NicolasJOS - open - 29 Jun 2022
avatar joomla-cms-bot joomla-cms-bot - change - 29 Jun 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 29 Jun 2022
avatar chmst
chmst - comment - 5 Jul 2022

I cannot replicate this. If I set a filter i.e. for "tags" and apply it in the smart search module, the filter works.
Are you not speaking about joomla core but about an advanced search extension?

Could you show your filter settings?

avatar chmst chmst - change - 5 Jul 2022
Labels Added: Information Required
avatar chmst chmst - labeled - 5 Jul 2022
avatar NicolasJOS
NicolasJOS - comment - 5 Jul 2022

Hi, here it is :

I have two category Fruits & Vegetables

Two articles "Banana" in "Fruits" and "Carrot" in "Vegetables"

I'v created a filter first to search only in category "Vegetables"

Capture d’écran 2022-07-05 à 11 09 22

And added a Menu item using my filter
Capture d’écran 2022-07-05 à 11 03 05

And added a Joomla native Advanced search module using the same filter
Capture d’écran 2022-06-30 à 09 51 19

I installed my menu in Main menu and my Module in footer.

You can see the result here https://www.njnet.fr
Searching Banana using the menu, no result, it's ok.
Searching Banana using the module, you have a result ...

Thanks

avatar chmst
chmst - comment - 7 Jul 2022

Thanks for your information, I tried the same environment (categories, articles, filter) on a test installation, but still cannot replicate that. Could you switch to the default template cassiopeia?
Search module and search form on the same page is somehow confusing but works as expected in cassiopeia.

grafik

avatar NicolasJOS
NicolasJOS - comment - 7 Jul 2022

Hi, you're right,
I did the same in Cassiopeia and in this case, all is ok.
So my actual template (Yootheme) override the search result within a module ...
I'll discuss this with Yootheme team !
Thanks a lot
Nicolas

avatar chmst
chmst - comment - 7 Jul 2022

Thank you for the feedback! I close this now.

avatar chmst chmst - change - 7 Jul 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-07-07 15:41:27
Closed_By chmst
avatar chmst chmst - close - 7 Jul 2022

Add a Comment

Login with GitHub to post a comment