Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/12/11 20:08:00 (13 years ago)
Author:
dhohl
Message:

#1499 refactor, first part of the comparison combobox for the different filters, Controls for the Filters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/WebApplication/MVC2/HLWebOKBQueryPlugin/Controllers/FilterController.cs

    r6170 r6190  
    2626
    2727            QueryServiceClient client = Query.GetClientFactory("okbtester", "okbtester");
    28            
    29 
    30            long[] ids = client.GetRunIds(qm.Content);
     28
     29
     30            long[] ids = client.GetRunIds(qm.Content);
    3131
    3232            Response.Write("Found <" + ids.Count() + "> Runs.");
     
    5252        /// <returns></returns>
    5353        public ActionResult AddFilterAnd(FormCollection collection)
    54         {       
     54        {
    5555            FilterModel fm = new FilterModel((CombinedFilter)Session["Content"]);
    5656
    5757
    5858            // Add Filter
    59            
     59
    6060            String idKey = null;
    6161            String parentIdKey = null;
     
    135135        {
    136136            // Get Content from Session
    137             FilterModel fm = new FilterModel((CombinedFilter)Session["Content"]); 
    138            
     137            FilterModel fm = new FilterModel((CombinedFilter)Session["Content"]);
     138
    139139            // Remove Filter
    140            bool filterRemoved = fm.RemoveFilter(id);
    141        
     140            bool filterRemoved = fm.RemoveFilter(id);
     141
    142142            // Set Content
    143143            Session["Content"] = fm.Content;
    144            
     144
    145145            return View("Index", fm);
    146146        }
     
    181181        public ActionResult Index()
    182182        {
    183            
     183
    184184            // Set submenu
    185185            Session["SelectedSubMenu"] = "Filter";
     
    201201            CombinedFilter f = (CombinedFilter)Session["Content"];
    202202            fm.Content = f;
    203            
    204            
     203
     204
    205205            return View(fm);
    206206        }
Note: See TracChangeset for help on using the changeset viewer.