mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
sectionsd.cpp:sort unique search-eventlist (fix tiny)
This commit is contained in:
@@ -2245,7 +2245,7 @@ void sectionsd_getEventsServiceKey(t_channel_id serviceUniqueKey, CChannelEventL
|
|||||||
break; // sind nach serviceID und startzeit sortiert -> nicht weiter suchen
|
break; // sind nach serviceID und startzeit sortiert -> nicht weiter suchen
|
||||||
}
|
}
|
||||||
unlockEvents();
|
unlockEvents();
|
||||||
if(!search_text.empty() && !eList.empty()){
|
if(search != 0 && !eList.empty()){
|
||||||
sort(eList.begin(),eList.end(),sortByDateTime);
|
sort(eList.begin(),eList.end(),sortByDateTime);
|
||||||
unique(eList.begin(),eList.end(),sortbyEventid);
|
unique(eList.begin(),eList.end(),sortbyEventid);
|
||||||
eList.erase(unique(eList.begin(),eList.end(),sortbyEventid),eList.end());
|
eList.erase(unique(eList.begin(),eList.end(),sortbyEventid),eList.end());
|
||||||
|
Reference in New Issue
Block a user