Low Search results not returning all entries for a particular category
I have a Low Search form with category selects on a page for a real estate development website.
http://l45living.com/floor-plans
The form allows the user to filter through the available apartments with a series of questions. The first form field is to choose the number of bedrooms. When you select "Two Bedrooms" it returns some entries categorized with the "two-bedroom" category, but not all entries. It returns 19 entries.
There is another page on the website that allows you to view all units for a particular number of bedrooms. The Two Bedroom page for all entries is located at:
http://l45living.com/floor-plans/all/...
This page uses a Channel Entries tag to display all entries with the "two-bedroom" category. This page returns 81 entries.
Why doesn't the Low Search results page display the same number of entries? Shouldn't it also show all 81 entries with the "two-bedroom" category?
Floor Plans Search code using Low Search tag: http://pastie.org/10243829
All Floor Plans code using Channel Entries tag: http://pastie.org/10243841
Replies
Low 16 Jun 2015 20:20
Does adding dynamic="no" to the Results tag make a difference?
Eric Nance 16 Jun 2015 20:50
Unfortunately, no. Same results.
Low 16 Jun 2015 20:51
I'll need to take a look myself. Please send SuperAdmin login credentials to hi at gotolow dot com if you can.
Eric Nance 16 Jun 2015 21:03
Ok, credentials sent.
Low 16 Jun 2015 21:19
The option "Are you bringing a pet? Undecided at the moment" has a category id of 27, which results in a query of category="3&27" when submitting the form. This URL contains only category="3" and has more results: http://l45living.com/floor-plans/sear...
Change the other dropdown, and you should be good.
Eric Nance 17 Jun 2015 01:27
Brilliant! That's it. That category was really throwing me for a loop. I removed that and it's all working perfectly now.
Thanks so much.