mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-01 07:54:36 -04:00
Fixes for search
This commit is contained in:
parent
572451df13
commit
dfc2f9ffe2
@ -65,12 +65,10 @@ class SearchController extends Controller
|
|||||||
$client->contacts->each(function ($contact) {
|
$client->contacts->each(function ($contact) {
|
||||||
$this->client_contacts[] = [
|
$this->client_contacts[] = [
|
||||||
'name' => $contact->present()->search_display(),
|
'name' => $contact->present()->search_display(),
|
||||||
'type' => '/client_contact',
|
'type' => '/client',
|
||||||
'id' => $contact->hashed_id,
|
'id' => $contact->client->hashed_id,
|
||||||
'path' => "/clients/{$contact->hashed_id}"
|
'path' => "/clients/{$contact->client->hashed_id}"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user