sectionsd.cpp:sort unique search-eventlist (fix tiny)

Origin commit data
------------------
Branch: ni/coolstream
Commit: ff2ca4393d
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-05-11 (Fri, 11 May 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2012-05-11 12:33:59 +02:00
parent 5a9a275571
commit 9e419d26a7

View File

@@ -2245,7 +2245,7 @@ void sectionsd_getEventsServiceKey(t_channel_id serviceUniqueKey, CChannelEventL
break; // sind nach serviceID und startzeit sortiert -> nicht weiter suchen
}
unlockEvents();
if(!search_text.empty() && !eList.empty()){
if(search != 0 && !eList.empty()){
sort(eList.begin(),eList.end(),sortByDateTime);
unique(eList.begin(),eList.end(),sortbyEventid);
eList.erase(unique(eList.begin(),eList.end(),sortbyEventid),eList.end());