{
"sEcho": [% sEcho | html %],
"iTotalRecords": [% total_rows | html %],
"iTotalDisplayRecords": [% total_rows | html %],
"aaData": [
[%- FOREACH item IN results -%]
[%- INCLUDE 'catalogue/itemsearch_item.json.inc' item = item -%]
[%- UNLESS loop.last %],[% END -%]
[%- END -%]
]
}