Switch to using string instead of bool for checkbox values

This commit is contained in:
2020-08-03 21:34:09 -04:00
parent b1bff76159
commit cb1b6c6e47
10 changed files with 62 additions and 15 deletions
+1 -1
View File
@@ -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();