do_search_using_params

NAML documentation   Watch a video
   Usages of this macro
... in search.naml
301
302
303
304
305
306
307
308
309
310
311
<macro name="do_search_using_params" requires="search">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.not
Binary
Namespace: BasicNamespace
Parameters: condition
.is_empty
Binary
Namespace: BasicNamespace
Parameters: value
.author_param
Macro
>
        <then.query_author
Binary
Namespace: SearchNamespace
Parameters: author
.author_param
Macro
/>
    </n.if.not.is_empty.author_param>
    <n.do_search
Binary
Namespace: SearchNamespace
Parameters: query, length, start, days, sort
 length="[n.search_page_length
Macro
Requires: searcher_tool
/]"
        query="[n.query_param
Macro
/]"
        days="[n.get_parameter
Binary
Namespace: RequestNamespace
Parameters: name
 name='days'/]"
        start="[n.search_page_index_record
Macro
/]"
        sort="[n.get_parameter
Binary
Namespace: RequestNamespace
Parameters: name
 name='sort'/]"
    />
</macro>