Include date from/to for server search

This commit is contained in:
M66B 2020-05-27 08:17:55 +02:00
parent f2d73c8fd9
commit 3e82280408
2 changed files with 2 additions and 3 deletions

View File

@ -679,9 +679,9 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
and.add(new FlagTerm(new Flags(Flags.Flag.FLAGGED), true));
if (after != null)
and.add(new ReceivedDateTerm(ComparisonTerm.GT, new Date(after)));
and.add(new ReceivedDateTerm(ComparisonTerm.GE, new Date(after)));
if (before != null)
and.add(new ReceivedDateTerm(ComparisonTerm.LT, new Date(before)));
and.add(new ReceivedDateTerm(ComparisonTerm.LE, new Date(before)));
SearchTerm term = null;

View File

@ -352,6 +352,5 @@ public class FragmentDialogSearch extends FragmentDialogBase {
});
picker.show();
}
}