diff options
Diffstat (limited to 'worker/lib/search.go')
-rw-r--r-- | worker/lib/search.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/worker/lib/search.go b/worker/lib/search.go index a3604430..c85b3307 100644 --- a/worker/lib/search.go +++ b/worker/lib/search.go @@ -14,6 +14,7 @@ import ( ) func Search(messages []rfc822.RawMessage, criteria *types.SearchCriteria) ([]uint32, error) { + criteria.PrepareHeader() requiredParts := GetRequiredParts(criteria) matchedUids := []uint32{} |