We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

search_results tag not honoring channel parameter?

Development and Programming

Adam Khan's avatar
Adam Khan
319 posts
one month ago
Adam Khan's avatar Adam Khan

Hi, long time no post! I’ve upgraded all sites to the latest 6.4.3 but am seeing problems with the exp:search:search_results tag. It seems that it is not honoring various parameters, most importantly, the “channel” parameter. Anybody else experiencing this?

       
Paul Bailey's avatar
Paul Bailey
71 posts
one month ago
Paul Bailey's avatar Paul Bailey

Can you elaborate a bit? Do you mean the results tag, or the form tag? (I don’t think “channel” is a parameter for the results tag.) Posting your code might help!

       
Adam Khan's avatar
Adam Khan
319 posts
one month ago
Adam Khan's avatar Adam Khan

Hi, thanks for the quick response. As the title of the post says, it’s the search_results tag that’s not honoring it. I see at Displaying Search Results in the docs that “Nearly all of the Channel Entries Tag Variables are available for the search results page” and presumed the same for params — so that’s not the case?

       
Paul Bailey's avatar
Paul Bailey
71 posts
one month ago
Paul Bailey's avatar Paul Bailey

Don’t think so — It’s definitely not my reading of the documentation, anyway. Maybe I’m misunderstanding. Do you have something that worked in EE5 using a “channel” parameter but doesn’t in EE6?

One reason I replied here is that I’m actually chasing down what I think is a bug in EE6 search. And it can look like channels aren’t being searched, but I think it’s actually that some custom fields aren’t being searched. More here: https://github.com/ExpressionEngine/ExpressionEngine/issues/1851

       
Adam Khan's avatar
Adam Khan
319 posts
one month ago
Adam Khan's avatar Adam Khan

Great debuggery you are doing on increasing the batch size.

My post may be a bit misleading — I am just now trying to implement search on a particular site after updating to 6.3.4, so I didn’t have it working on any previous versions (been using Low Search elsewhere).

Having a channel parameter seems an obvious feature, but with Low Search being part of the EE Pro offer, I’ll be impressed if it gets added…

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.