Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2nd search filter adds data into URL which stops results showing #40777

Closed
RustyIngles opened this issue Jun 15, 2023 · 5 comments
Closed

2nd search filter adds data into URL which stops results showing #40777

RustyIngles opened this issue Jun 15, 2023 · 5 comments
Labels

Comments

@RustyIngles
Copy link

Steps to reproduce the issue

In Joomla 4.x setup a filter:

Smart Search > Filters > New

Add a title (Test 1), toggle the relevant content maps

Click 'Save & Close'

Setup a new Smart Search > Search menu item and select the above filter.

Run through the process again, but this time add a different title (Test 2) and toggle a different set of content maps.

Index the content.

When going to the frontend, the 'Test 1' search menu item will return results, but when going to the 'Test 2' item no results will be returned.

Expected result

Both should return a different set of results depending on the content filters.

Actual result

The first result works but the second search doesn't and it includes "&f=2" in the URL. If this is removed, then the search results are shown.

System information (as much as possible)

Setting Value
PHP Built On Linux www 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64
Database Type mysql
Database Version 8.0.33-0ubuntu0.22.04.2
Database Collation utf8mb4_0900_ai_ci
Database Connection Collation utf8mb4_0900_ai_ci
Database Connection Encryption None
Database Server Supports Connection Encryption Yes
PHP Version 8.1.16
Web Server Apache/2.4.54
WebServer to PHP Interface apache2handler
Joomla! Version Joomla! 4.3.2 Stable [ Bora ] 30-May-2023 16:00 GMT
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36

Additional comments

@footsteps-design
Copy link

Thanks for adding this bug report @RustyIngles. I found this issue myself today. If anyone can shed any light I'd very much appreciate it.


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

@jjnxpct
Copy link

jjnxpct commented Jun 21, 2023

We have the same issue. Adding a filter causes the search to return no results.

@sergiovaldi
Copy link

In the site modules I set "start publishing date" --> to today's date and now it works....


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

@Hackwar Hackwar added bug PBF Pizza, Bugs and Fun labels Aug 24, 2023
@SniperSister
Copy link
Contributor

@RustyIngles please verify that this is not a duplicate of the issue fixed in #40687

@Hackwar
Copy link
Member

Hackwar commented Aug 28, 2023

This is the bug from #39751 and thus has been fixed.

@Hackwar Hackwar closed this as completed Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants