Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/28/11 10:52:34 (14 years ago)
Author:
cfleisch
Message:

#1499 bugfix - filter by name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/WebApplication/MVC2/HLWebOKBQueryPlugin/Models/FilterModel.cs

    r6305 r6328  
    145145        {
    146146            // get selected filter (combobox)
    147             Filter filter = AvailableFilters.Where(x => x.FilterTypeName.Equals(filterTypeName)).FirstOrDefault();
     147            Filter filter = AvailableFilters.Where(x  => x.Label.Equals(filterTypeName)).FirstOrDefault();
    148148
    149149            // find the partent filterr
    150150            List<Filter> orFilters = Content.Filters.ToList<Filter>(); ;
    151151            CombinedFilter parentFilter = (CombinedFilter)orFilters.Where(e => e.Id.Equals(parentId)).FirstOrDefault();
     152
     153           
    152154
    153155            // remove
Note: See TracChangeset for help on using the changeset viewer.