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:
parent
c3d349e3c6
commit
292432df12
|
@ -1491,6 +1491,7 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
|
||||||
// replace the date range
|
// replace the date range
|
||||||
if (r)
|
if (r)
|
||||||
{
|
{
|
||||||
|
if ([baseWhere count] > 1)
|
||||||
[baseWhere removeLastObject];
|
[baseWhere removeLastObject];
|
||||||
dateSqlString = [self _sqlStringRangeFrom: _startDate
|
dateSqlString = [self _sqlStringRangeFrom: _startDate
|
||||||
to: endDate
|
to: endDate
|
||||||
|
|
Loading…
Reference in a new issue