diff --git a/server/AyaNova/DataList/DataListProcessingBase.cs b/server/AyaNova/DataList/DataListProcessingBase.cs index 8720c4e5..7b708d2f 100644 --- a/server/AyaNova/DataList/DataListProcessingBase.cs +++ b/server/AyaNova/DataList/DataListProcessingBase.cs @@ -153,10 +153,12 @@ namespace AyaNova.DataList //field key needed for sorting etc sb.Append($",\"fk\":\"{o.FieldKey}\""); - //Sortable? - sb.Append($",\"srt\":\"{o.IsSortable}\""); - //Filterable? - sb.Append($",\"flt\":\"{o.IsFilterable}\""); + //Not Sortable? + if (!o.IsSortable) + sb.Append($",\"ns\":1"); + //Not Filterable? + if (!o.IsFilterable) + sb.Append($",\"nf\":1"); sb.Append("}");