CoreBOSBB
Global Search Missing - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17)
+--- Forum: User Support (https://discussions.corebos.org/forumdisplay.php?fid=6)
+--- Thread: Global Search Missing (/showthread.php?tid=1517)



Global Search Missing - LorenzoGreco - 05-22-2019

After last update the box for global search is disappeared
i attach a pic
bye
Lorenzo


RE: Global Search Missing - joebordes - 05-23-2019

Hi

this is controlled by the Application_Global_Search_Active global variable. See if you have set the variable to not show the box


RE: Global Search Missing - LorenzoGreco - 05-23-2019

I tried but prhaps i did a mistake, not works
look at pic
If i set 0, the search disappear totally, else with 1 set i can't see the box 


RE: Global Search Missing - joebordes - 05-23-2019

the GV is correct and actually not needed, the default value is 1 so my comment was just to make sure you hadn't set it to 0.

check if you have this line:

https://github.com/tsolucio/corebos/blob/master/modules/Vtiger/header.php#L99

and the one below

and then check this part:

https://github.com/tsolucio/corebos/blob/master/Smarty/templates/Header.tpl#L104


RE: Global Search Missing - LorenzoGreco - 05-23-2019

(05-23-2019, 03:10 PM)joebordes Wrote: the GV is correct and actually not needed, the default value is 1 so my comment was just to make sure you hadn't set it to 0.

check if you have this line:

https://github.com/tsolucio/corebos/blob/master/modules/Vtiger/header.php#L99

and the one below

and then check this part:

https://github.com/tsolucio/corebos/blob/master/Smarty/templates/Header.tpl#L104

Yes i have


$Application_Global_Search_Active = GlobalVariable::getVariable('Application_Global_Search_Active', 1);

$smarty->assign('Application_Global_Search_Active', $Application_Global_Search_Active);






{if $Application_Global_Search_Active || (isset($GS_AUTOCOMP) && isset($GS_AUTOCOMP['searchin']))}

{if (isset($GS_AUTOCOMP) && isset($GS_AUTOCOMP['searchin']))}{$GLOBAL_AC = true}{else}{$GLOBAL_AC = false}{/if}
<div class="slds-global-header__item slds-global-header__item_search">
<div class="slds-form-element">
<div class="slds-form-element__control">
<div class="slds-combobox-group">
{if $Application_Global_Search_Active}
<div class="slds-combobox_object-switcher slds-combobox-addon_start">
<div class="slds-form-element">
<label class="slds-form-element__label slds-assistive-text" for="globalsearch-moduleselect">{$APP.LBL_SELECT_MODULES_FOR_SEARCH}</label>
<div class="slds-form-element__control">
<div class="slds-combobox_container">
<div id="globalsearch-moduleselect" class="slds-combobox slds-dropdown-trigger slds-dropdown-trigger_click" aria-controls="globalsearch-moduleselect" aria-expanded="false" aria-haspopup="listbox" role="combobox">
<div class="slds-combobox__form-element slds-input-has-icon slds-input-has-icon_right" role="none">
<input type="text" class="slds-input slds-combobox__input slds-combobox__input-value" id="globalsearch-moduleselect-input" aria-controls="UnifiedSearch_moduleformwrapper" autoComplete="off" role="textbox" placeholder="{$APP.LBL_SELECT_MODULES_FOR_SEARCH}" value="" onfocus="UnifiedSearch_GetModules();" />
<span class="slds-icon_container slds-icon-utility-down slds-input__icon slds-input__icon_right">
<svg class="slds-icon slds-icon slds-icon_xx-small slds-icon-text-default" aria-hidden="true">
<use xlink:href="include/LD/assets/icons/utility-sprite/svg/symbols.svg#down"></use>
</svg>
</span>
</div>


RE: Global Search Missing - joebordes - 05-23-2019

fixed: https://github.com/tsolucio/corebos/commit/f345d90bdba8b839ebbdb4ff62f51cba6dee4784

thanks!


RE: Global Search Missing - LorenzoGreco - 05-23-2019

It WORKS
Thanks