Hi,

You can directly loop through the search result using a {% for %} loop.

If you want to have the current list of values from your search result “result” 
use:

        {% print result.result %}

You can get the following properties from a m_search_result record:

        search
        search_name
        search_props
        result
        page
        pages
        pagelen
        next
        prev


Best, Marc


> On 05 Oct 2016, at 10:03, heiheshang <strangerfuture2...@gmail.com> wrote:
> 
> m,m_search,
>    {m_search_result,query,
>                     [{custompivot,"operation_type"},
>                      {filter,["pivot1.operation_code","=",<<>>]},
>                      {pagelen,30},
>                      {page,1}],
>                     {search_result,[],1,undefined,undefined,undefined,
>                                    undefined,undefined,undefined},
>                     undefined,undefined,0,undefined,undefined,undefined}}
> 
> in tpl get search_result?
> 
> -- 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Zotonic developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to zotonic-developers+unsubscr...@googlegroups.com 
> <mailto:zotonic-developers+unsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Zotonic developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to zotonic-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to