4 |
using System.Text; |
using System.Text; |
5 |
using libxmltv.Interfaces; |
using libxmltv.Interfaces; |
6 |
using System.Collections; |
using System.Collections; |
7 |
|
using Enterprise.Logging; |
8 |
|
|
9 |
namespace libxmltv.Core |
namespace libxmltv.Core |
10 |
{ |
{ |
154 |
case "subtitle": ordered = list.ToList().FindAll(s => s.SubTitle.ToLower().Contains(filtertext)); break; |
case "subtitle": ordered = list.ToList().FindAll(s => s.SubTitle.ToLower().Contains(filtertext)); break; |
155 |
} |
} |
156 |
list = new ProgramDefinitionList(ordered.ToList()); |
list = new ProgramDefinitionList(ordered.ToList()); |
157 |
|
if (list.Count == 0) |
158 |
|
{ |
159 |
|
list = (ProgramDefinitionList)source; |
160 |
|
gLog.Warn.WriteLine("Filering by: column='{0}' with filer='{1}' returned no data",columnname, filtertext); |
161 |
|
} |
162 |
} |
} |
163 |
catch (Exception ex) { throw ex; } |
catch (Exception ex) { throw ex; } |
164 |
if (list != null) { source = list; } |
if (list != null) { source = list; } |