Don't remove the "c_component" condition in search

This will fix a bug when we'll support recurrent tasks!
This commit is contained in:
Francis Lachapelle 2016-10-07 12:19:19 -04:00
parent c3d349e3c6
commit 292432df12

View file

@ -1491,6 +1491,7 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
// replace the date range
if (r)
{
if ([baseWhere count] > 1)
[baseWhere removeLastObject];
dateSqlString = [self _sqlStringRangeFrom: _startDate
to: endDate