]> git.koha-community.org Git - koha.git/blob - koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch_json.tt
Bug 13618: Add html filters to all the variables
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / catalogue / itemsearch_json.tt
1 {
2   "sEcho": [% sEcho | html %],
3   "iTotalRecords": [% total_rows | html %],
4   "iTotalDisplayRecords": [% total_rows | html %],
5   "aaData": [
6   [%- FOREACH item IN results -%]
7     [%- INCLUDE 'catalogue/itemsearch_item.json.inc' item = item -%]
8     [%- UNLESS loop.last %],[% END -%]
9   [%- END -%]
10   ]
11 }