Email drafts filter
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
"sent": "Sent",
|
||||
"archived": "Archived",
|
||||
"inbox": "Inbox",
|
||||
"draft": "Draft"
|
||||
"drafts": "Drafts"
|
||||
},
|
||||
"massActions": {
|
||||
"markAsRead": "Mark As Read"
|
||||
|
||||
@@ -54,15 +54,9 @@
|
||||
}
|
||||
},
|
||||
"filterList": [
|
||||
{
|
||||
"name":"inbox"
|
||||
},
|
||||
{
|
||||
"name":"sent"
|
||||
},
|
||||
{
|
||||
"name":"draft"
|
||||
}
|
||||
"inbox",
|
||||
"sent",
|
||||
"drafts"
|
||||
],
|
||||
"defaultFilterData": {
|
||||
"presetName": "inbox",
|
||||
|
||||
@@ -59,7 +59,7 @@ class Email extends \Espo\Core\SelectManagers\Base
|
||||
);
|
||||
}
|
||||
|
||||
protected function filterDraft(&$result)
|
||||
protected function filterDrafts(&$result)
|
||||
{
|
||||
$result['whereClause'][] = array(
|
||||
'status' => 'Draft',
|
||||
|
||||
Reference in New Issue
Block a user