aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/mbox/camel-mbox-search.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers/mbox/camel-mbox-search.c')
-rw-r--r--camel/providers/mbox/camel-mbox-search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/providers/mbox/camel-mbox-search.c b/camel/providers/mbox/camel-mbox-search.c
index 515bd8842c..47d4012c4c 100644
--- a/camel/providers/mbox/camel-mbox-search.c
+++ b/camel/providers/mbox/camel-mbox-search.c
@@ -229,7 +229,7 @@ func_header_contains(struct _ESExp *f, int argc, struct _ESExpResult **argv, voi
if (!strcasecmp(headername, "subject")) {
header = ctx->message_current->subject;
} else if (!strcasecmp(headername, "date")) {
- header = ctx->message_current->date;
+ header = ctx->message_current->sent_date;
} else if (!strcasecmp(headername, "from")) {
header = ctx->message_current->sender;
} else {