mirror of https://github.com/M66B/FairEmail.git
Include date from/to for server search
This commit is contained in:
parent
f2d73c8fd9
commit
3e82280408
|
@ -679,9 +679,9 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
|
||||||
and.add(new FlagTerm(new Flags(Flags.Flag.FLAGGED), true));
|
and.add(new FlagTerm(new Flags(Flags.Flag.FLAGGED), true));
|
||||||
|
|
||||||
if (after != null)
|
if (after != null)
|
||||||
and.add(new ReceivedDateTerm(ComparisonTerm.GT, new Date(after)));
|
and.add(new ReceivedDateTerm(ComparisonTerm.GE, new Date(after)));
|
||||||
if (before != null)
|
if (before != null)
|
||||||
and.add(new ReceivedDateTerm(ComparisonTerm.LT, new Date(before)));
|
and.add(new ReceivedDateTerm(ComparisonTerm.LE, new Date(before)));
|
||||||
|
|
||||||
SearchTerm term = null;
|
SearchTerm term = null;
|
||||||
|
|
||||||
|
|
|
@ -352,6 +352,5 @@ public class FragmentDialogSearch extends FragmentDialogBase {
|
||||||
});
|
});
|
||||||
|
|
||||||
picker.show();
|
picker.show();
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue