Switch to using string instead of bool for checkbox values
This commit is contained in:
@@ -13,7 +13,7 @@ namespace LeafWeb.WebCms.Controllers
|
||||
public ActionResult Index(LeafDataQuery model)
|
||||
{
|
||||
if (!model.HasParameters && !TempData.ContainsKey("Posted"))
|
||||
model.usr = true;
|
||||
model.usr = "on";
|
||||
|
||||
var resultItems =
|
||||
DataService.GetLeafInputsOrdered();
|
||||
|
||||
Reference in New Issue
Block a user