summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/blocks/DataTables.html
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/templates/blocks/DataTables.html')
-rw-r--r--ishtar_common/templates/blocks/DataTables.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/ishtar_common/templates/blocks/DataTables.html b/ishtar_common/templates/blocks/DataTables.html
index 9133e4d05..a268d3a74 100644
--- a/ishtar_common/templates/blocks/DataTables.html
+++ b/ishtar_common/templates/blocks/DataTables.html
@@ -140,7 +140,10 @@ jQuery(document).ready(function(){
datatable_options = {
"ajax": {
"url": "{{source}}",
- "dataSrc": "rows"
+ "dataSrc": function (json) {
+ manage_pinned_search("{{name}}", json);
+ return json.rows;
+ }
},
"select": {% if multiple_select %}true{% else %}'single'{% endif %},
"columns": [