mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-08-11 15:34:21 -04:00
Working on history sidebar
This commit is contained in:
parent
db0c305b4f
commit
69e54e72ca
@ -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…
x
Reference in New Issue
Block a user