Low Search total results in search log seems off
Hi,
I am not sure why the Low Search results (fronted) shows 8 results but in the Search Log in the Control Panel it shows 16 !!???
FrontEnd:
total_results = 8
Control Panel:
result_page: /usp-properties/list
child:property_post_code: 142|141|140|139
child:property_borough: 138|137|136
range-from:property_sqft: 0
range-to:property_sqft: 270000
Any idea !?
Thanks
Behzad
Replies
Low 24 Nov 2015 17:33
What's your full {exp:low_search:results} tag? You can use http://pastie.org/ or http://pastebin.com/ for large chunks of code.
Behzad Noroozi Fotoohieh 24 Nov 2015 17:36
http://www.unionstreetpartners.co.uk/...
Low 24 Nov 2015 17:37
No, I need the actual template code.
Behzad Noroozi Fotoohieh 24 Nov 2015 17:38
{exp:low_search:results
query="{segment_3}"
channel="properties"
orderby="title"
sort="asc"
collection="properties"
category="{if segment_1=="usp-properties"}5{if:else}6{/if}"
}
Low 24 Nov 2015 17:41
I'll need to take a look myself. Please send SuperAdmin login credentials to hi at gotolow dot com if you can.
Behzad Noroozi Fotoohieh 24 Nov 2015 17:45
Thanks for your help. I just sent it.
Low 24 Nov 2015 18:03
Looks like you've got 2 exp:low_search:results tags on a single page load. The results for both tags are aggregated in the CP, hence double the amount.
I'd recommend removing the Results tag that you're hiding/not showing to make the count more conform to you site's situation.
Behzad Noroozi Fotoohieh 24 Nov 2015 18:26
Thanks for looking at this.
But I am sure it does not show all entries when you search. For example if you select all postcodes then the results page is not showing all entries. You can compare the results with properites channel (i.e. SE1). As you can see there are a few entries with SE1 relationship field but does not appear in search result!
Thanks
Behzad
Low 24 Nov 2015 18:41
Your "property_sqft" field has content type All. It should be numeric if you want to correctly use the ranges filter. Otherwise the content will be considered strings, rather than numbers, making 3 > 270000 true like c > bbbbb.
Behzad Noroozi Fotoohieh 24 Nov 2015 18:46
Hi again,
Thanks very much to look at it and it makes sense. Let me update the field and will let you if there is still any issue.
Also thank you for your powerful plugins .
Thanks
Behzad