Skip to content

Commit 5acde66

Browse files
Merge pull request #6 from jomsk1e/dev
fixed issue: The length of the string exceeds the value set on the ma…
2 parents 836cdec + 830e7b7 commit 5acde66

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/JQDT.MVC/JQDataTableAttribute.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,8 @@ private ActionResult FormatResult(object resultModel)
215215
var jsonResult = new JsonResult
216216
{
217217
JsonRequestBehavior = JsonRequestBehavior.AllowGet,
218-
Data = resultModel
218+
Data = resultModel,
219+
MaxJsonLength = int.MaxValue
219220
};
220221

221222
return jsonResult;

0 commit comments

Comments
 (0)