/[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

--- trunk/libxmltv/Core/DataSourceBindable.cs	2013/03/13 16:59:40	137
+++ trunk/libxmltv/Core/DataSourceBindable.cs	2013/03/13 17:03:18	138
@@ -147,7 +147,7 @@
 
                     switch (columnname)
                     {
-                        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;
                         case "channelname": ordered = list.ToList().FindAll(s => s.ChannelName.ToLower().Contains(filtertext)); break;
                         case "start":
                         case "stop":

 

  ViewVC Help
Powered by ViewVC 1.1.22