mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-12 01:54:41 +08:00
Added option to filter by date the visits list
This commit is contained in:
@@ -70,7 +70,11 @@ class GetVisitsCommand extends Command
|
||||
]);
|
||||
|
||||
foreach ($visits as $row) {
|
||||
$table->addRow(array_values($row->jsonSerialize()));
|
||||
$rowData = $row->jsonSerialize();
|
||||
// Unset location info
|
||||
unset($rowData['visitLocation']);
|
||||
|
||||
$table->addRow(array_values($rowData));
|
||||
}
|
||||
$table->render();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user