Skip to content

Commit 2a85722

Browse files
committed
Return bool value instead bool string
1 parent 7ae926a commit 2a85722

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Mvc.JQuery.Datatables/DataTablesResult.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ public class DataTablesResult<T, TRes> : DataTablesResult<TRes>
5858
Guard<IEnumerable<bool>>(s => s.ToArray()),
5959
Guard<IEnumerable<double>>(s => s.ToArray()),
6060
Guard<IEnumerable<object>>(s => s.Select(o => GetTransformedValue(o.GetType(), o)).ToArray()),
61+
Guard<bool>(s => s),
6162
Guard<object>(o => (o ?? "").ToString())
6263
};
6364

0 commit comments

Comments
 (0)