/[xmltv_parser]/trunk/libxmltv/Core/DataSourceBindable.cs
ViewVC logotype

Diff of /trunk/libxmltv/Core/DataSourceBindable.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 137 by william, Wed Mar 13 16:59:40 2013 UTC revision 138 by william, Wed Mar 13 17:03:18 2013 UTC
# Line 147  namespace libxmltv.Core Line 147  namespace libxmltv.Core
147    
148                      switch (columnname)                      switch (columnname)
149                      {                      {
150                          case "channelnumber": ordered = list.ToList().FindAll(s => s.ChannelNumber.ToString().ToLower().Contains(filtertext)); break;                          case "channelnumber": ordered = list.ToList().FindAll(s => s.ChannelNumber == Convert.ToInt32(filtertext)); break;
151                          case "channelname": ordered = list.ToList().FindAll(s => s.ChannelName.ToLower().Contains(filtertext)); break;                          case "channelname": ordered = list.ToList().FindAll(s => s.ChannelName.ToLower().Contains(filtertext)); break;
152                          case "start":                          case "start":
153                          case "stop":                          case "stop":

Legend:
Removed from v.137  
changed lines
  Added in v.138

  ViewVC Help
Powered by ViewVC 1.1.22