mirror of
https://github.com/axllent/mailpit.git
synced 2025-01-30 04:30:56 +02:00
Bugfix: Fix search with existing emails
This commit is contained in:
parent
de0549e60a
commit
eede2bff99
@ -17,8 +17,8 @@ func searchParser(args []string, start, limit int) *sqlf.Stmt {
|
||||
Select(`ID, Data, Tags, Read,
|
||||
json_extract(Data, '$.To') as ToJSON,
|
||||
json_extract(Data, '$.From') as FromJSON,
|
||||
json_extract(Data, '$.Cc') as CcJSON,
|
||||
json_extract(Data, '$.Bcc') as BccJSON,
|
||||
IFNULL(json_extract(Data, '$.Cc'), '{}') as CcJSON,
|
||||
IFNULL(json_extract(Data, '$.Bcc'), '{}') as BccJSON,
|
||||
json_extract(Data, '$.Subject') as Subject,
|
||||
json_extract(Data, '$.Attachments') as Attachments
|
||||
`).
|
||||
|
Loading…
x
Reference in New Issue
Block a user