last viewed: display created
This commit is contained in:
@@ -69,7 +69,7 @@ class Service
|
|||||||
->getRDBRepositoryByClass(ActionHistoryRecord::class)
|
->getRDBRepositoryByClass(ActionHistoryRecord::class)
|
||||||
->where([
|
->where([
|
||||||
'userId' => $this->user->getId(),
|
'userId' => $this->user->getId(),
|
||||||
'action' => Action::READ,
|
'action' => [Action::READ, Action::CREATE],
|
||||||
'targetType' => $targetTypeList,
|
'targetType' => $targetTypeList,
|
||||||
])
|
])
|
||||||
->order('MAX:' . Field::CREATED_AT, 'DESC')
|
->order('MAX:' . Field::CREATED_AT, 'DESC')
|
||||||
|
|||||||
Reference in New Issue
Block a user