Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ protected function _initSelect(): Collection
$this->getSelect()->joinLeft(
['customer' => $this->getTable('customer_entity')],
'customer.entity_id = main_table.customer_id',
['email', 'firstname', 'lastname']
['email', 'firstname', 'lastname', 'website_id']
)->where(
'main_table.last_visit_at >= ?',
$connection->formatDate($lastDate)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,17 @@
<label translate="true">Email</label>
</settings>
</column>
<column name="website_id" class="Magento\Customer\Ui\Component\Listing\Column\Websites" component="Magento_Ui/js/grid/columns/select" sortOrder="110">
<settings>
<options class="Magento\Store\Model\ResourceModel\Website\Collection"/>
<filter>select</filter>
<editor>
<editorType>select</editorType>
</editor>
<dataType>select</dataType>
<label translate="true">Web Site</label>
</settings>
</column>
<column name="last_visit_at" class="Magento\Ui\Component\Listing\Columns\Date" component="Magento_Ui/js/grid/columns/date">
<settings>
<filter>dateRange</filter>
Expand Down