Working on history sidebar
This commit is contained in:
parent
db0c305b4f
commit
69e54e72ca
1 changed files with 2 additions and 1 deletions
|
|
@ -72,8 +72,9 @@ class HistoryUtils
|
|||
$lastClientId = false;
|
||||
$clientMap = [];
|
||||
$str = '';
|
||||
$history = Session::get(RECENTLY_VIEWED, []);
|
||||
|
||||
foreach (Session::get(RECENTLY_VIEWED) as $item)
|
||||
foreach ($history as $item)
|
||||
{
|
||||
if ($item->entityType == ENTITY_CLIENT && isset($clientMap[$item->client_id])) {
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue