Skip to content

Commit ef4e420

Browse files
committed
Tweaks to get dateranges to save again
1 parent 1f4a4b7 commit ef4e420

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Mvc.JQuery.Datatables.Templates/Content/jquery.dataTables.columnFilter.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,7 @@
817817
if (aoData[k].name == "sSearch_" + index)
818818
aoData[k].value = afnSearch_[j]();
819819
//HM// Added this line to force the value in
820-
//HMoTable.fnSettings().aoPreSearchCols[index].sSearch = aoData[k].value;
820+
oTable.fnSettings().aoPreSearchCols[index].sSearch = aoData[k].value;
821821
}
822822
}
823823
aoData.push({ "name": "sRangeSeparator", "value": properties.sRangeSeparator });

Mvc.JQuery.Datatables.Templates/Views/Shared/DataTable.cshtml

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
options["aaSorting"] = new JRaw(Model.ColumnSortingString);
4747
options["bProcessing"] = true;
4848
options["bStateSave"] = Model.StateSave;
49+
options["bServerSide"] = true;
4950
options["bFilter"] = Model.ShowSearch;
5051
options["sDom"] = Model.Dom;
5152

0 commit comments

Comments
 (0)