Search results using as parameter

When I try to render search results the 'as' parameter seems to cause an error.

Call to a member function map() on array

This is throws the exception:

{{ search:results as="results" }}
{{ /search:results }}

But this works:

{{ search:results paginate="5" as="results" }}
{{ /search:results }}

I'm new to Statamic, is this a bug or am I doing something wrong?

>>>>>>> Unanswered <<<<<<<
0 Replies