From 1454a0d26adc584283662893a4294689b6d56de2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Gaillard?= Date: Mon, 28 Oct 2013 15:32:26 +0100 Subject: [PATCH] // search type in BO --- admin-dev/themes/default/template/header.tpl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/admin-dev/themes/default/template/header.tpl b/admin-dev/themes/default/template/header.tpl index 511adead4..118823fb4 100644 --- a/admin-dev/themes/default/template/header.tpl +++ b/admin-dev/themes/default/template/header.tpl @@ -283,6 +283,11 @@ $('#bo_query').attr("placeholder",$(this).data('placeholder')); $('#bo_query').focus(); }); + {if isset($search_type) && $search_type} + $(document).ready(function() { + $('.search-option a[data-value='+{$search_type|intval}+']').click(); + }); + {/if}