is not read
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
"replied": "Replied",
|
||||
"replies": "Replies",
|
||||
"isRead": "Is Read",
|
||||
"isNotRead": "Is Not Read",
|
||||
"isImportant": "Is Important",
|
||||
"isUsers": "Is User's",
|
||||
"inTrash": "In Trash"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"account",
|
||||
"dateSent",
|
||||
"emailAddress",
|
||||
"isRead",
|
||||
"isNotRead",
|
||||
"isImportant",
|
||||
"name",
|
||||
"status",
|
||||
|
||||
@@ -57,6 +57,13 @@
|
||||
"notStorable": true,
|
||||
"default": true
|
||||
},
|
||||
"isNotRead": {
|
||||
"type": "bool",
|
||||
"notStorable": true,
|
||||
"layoutListDisabled": true,
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutMassUpdateDisabled": true
|
||||
},
|
||||
"isImportant": {
|
||||
"type": "bool",
|
||||
"notStorable": true,
|
||||
|
||||
@@ -268,6 +268,20 @@ class Email extends \Espo\Core\SelectManagers\Base
|
||||
|
||||
}
|
||||
|
||||
protected function getWherePartIsNotReadIsTrue()
|
||||
{
|
||||
return array(
|
||||
'usersMiddle.isRead' => false
|
||||
);
|
||||
}
|
||||
|
||||
protected function getWherePartIsNotReadIsFalse()
|
||||
{
|
||||
return array(
|
||||
'usersMiddle.isRead' => true
|
||||
);
|
||||
}
|
||||
|
||||
protected function getWherePartIsReadIsTrue()
|
||||
{
|
||||
return array(
|
||||
|
||||
Reference in New Issue
Block a user