Skip to content

Commit 05c2a3d

Browse files
AC-1553: Manage admin action logs
* Logging level changes
1 parent 22777c6 commit 05c2a3d

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Customer/Model/ResourceModel/Online/Grid

1 file changed

+1
-1
lines changed

app/code/Magento/Customer/Model/ResourceModel/Online/Grid/Collection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ public function __construct(
6969
*/
7070
protected function _initSelect(): Collection
7171
{
72-
$this->addFilterToMap('customer_id', 'main_table.customer_id');
7372
parent::_initSelect();
7473
$connection = $this->getConnection();
7574
$lastDate = $this->date->gmtTimestamp() - $this->visitorModel->getOnlineInterval() * self::SECONDS_IN_MINUTE;
@@ -81,6 +80,7 @@ protected function _initSelect(): Collection
8180
'main_table.last_visit_at >= ?',
8281
$connection->formatDate($lastDate)
8382
);
83+
$this->addFilterToMap('customer_id', 'main_table.customer_id');
8484
$expression = $connection->getCheckSql(
8585
'main_table.customer_id IS NOT NULL AND main_table.customer_id != 0',
8686
$connection->quote(Visitor::VISITOR_TYPE_CUSTOMER),

0 commit comments

Comments
 (0)