Absolute results same as limit
Hi All,
I have a question. Left to my search results i want to show how much results there are.
So what i did is the following:
[code]
{exp:low_search:results query="{segment_3}" status="not closed" limit="1"}
Er zijn {absolute_results} aanbiedingen gevonden
{/exp:low_search:results}
[/code]
witch results in a absolute result of 1. Because of the complexety of the search detail page (is has a next search entry, prev search entry, and a back to search (no history go back -1) i need to repeat my data as minimal as possible (so no if else).
Is there a way to do this?
Replies
Low 18 Dec 2012 21:07
Well, instead of using a low_search:results tag just for displaying the absolute results, I'd recommend just moving the {absolute_count} var from the main low_serch:results tag with something like Stash.
Using this approach, you need to add fake/empty pagination tags to it.