From ef1360b87339ba911c2d7d35a151278a1a3609ab Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 16 Apr 2017 21:07:46 -0400 Subject: [PATCH] Add a "No specific version" choice for bugs --- Project-Unite/Models/BugModels.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Project-Unite/Models/BugModels.cs b/Project-Unite/Models/BugModels.cs index 0e31c7e..40f71aa 100644 --- a/Project-Unite/Models/BugModels.cs +++ b/Project-Unite/Models/BugModels.cs @@ -127,6 +127,11 @@ public List Versions { var db = new ApplicationDbContext(); var items = new List(); + items.Add(new SelectListItem + { + Text = "No specific version", + Value = "none" + }); foreach(var itm in db.Downloads.Where(x=>x.Obsolete == false).OrderByDescending(x => x.PostDate)) { items.Add(new SelectListItem