From ec7fd5ff0cb8ec4bde2b93a8d17ab14d89a8ffe1 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 10 Apr 2016 15:44:45 +0300 Subject: [PATCH] Limited account search --- resources/views/header.blade.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/views/header.blade.php b/resources/views/header.blade.php index 1191aac2eee5..40b499fe8848 100644 --- a/resources/views/header.blade.php +++ b/resources/views/header.blade.php @@ -275,6 +275,7 @@ @if (Auth::check() && Auth::user()->account->custom_client_label1) ,{ name: 'data', + limit: 3, display: 'value', source: searchData(data['{{ Auth::user()->account->custom_client_label1 }}'], 'tokens'), templates: { @@ -285,6 +286,7 @@ @if (Auth::check() && Auth::user()->account->custom_client_label2) ,{ name: 'data', + limit: 3, display: 'value', source: searchData(data['{{ Auth::user()->account->custom_client_label2 }}'], 'tokens'), templates: { @@ -295,6 +297,7 @@ @foreach (['clients', 'contacts', 'invoices', 'quotes', 'navigation'] as $type) ,{ name: 'data', + limit: 3, display: 'value', source: searchData(data['{{ $type }}'], 'tokens', true), templates: {