From 691cb027a5c9fac6f78a3c82da06c476d240954e Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 28 Oct 2016 11:12:29 +0200 Subject: JQueryJqGrid by default sorting is made using ordering in meta --- ishtar_common/templates/blocks/JQueryJqGrid.html | 2 +- .../templates/ishtar/blocks/window_tables/dynamic_documents.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ishtar_common/templates') diff --git a/ishtar_common/templates/blocks/JQueryJqGrid.html b/ishtar_common/templates/blocks/JQueryJqGrid.html index faa2d9e93..607f81f7d 100644 --- a/ishtar_common/templates/blocks/JQueryJqGrid.html +++ b/ishtar_common/templates/blocks/JQueryJqGrid.html @@ -84,7 +84,7 @@ jQuery(document).ready(function(){ {{extra_cols|safe}} ], height: 300, - sortname: 'value', + sortname: '__default__', viewrecords: true, sortorder: "asc", emptyrecords: "{{no_result}}", diff --git a/ishtar_common/templates/ishtar/blocks/window_tables/dynamic_documents.html b/ishtar_common/templates/ishtar/blocks/window_tables/dynamic_documents.html index 4a81a64fb..f751cebe3 100644 --- a/ishtar_common/templates/ishtar/blocks/window_tables/dynamic_documents.html +++ b/ishtar_common/templates/ishtar/blocks/window_tables/dynamic_documents.html @@ -27,7 +27,7 @@ setTimeout( {name:'link', index:'link', width:30}, {{extra_cols|safe}} ], - sortname: 'value', + sortname: '__default__', viewrecords: true, sortorder: "asc", emptyrecords: "{{no_result}}", -- cgit v1.2.3