add some new field on global search
This commit is contained in:
parent
03ed4eb141
commit
0ff121e7f1
@ -136,6 +136,11 @@ $fieldstosearchall = array(
|
||||
'p.label'=>"ProductLabel",
|
||||
'p.description'=>"Description",
|
||||
"p.note"=>"Note",
|
||||
"p.note_public"=>"NotePublic",
|
||||
"p.url"=>"PublicUrl",
|
||||
"p.accountancy_code_sell"=>"AccountancyCodeSell",
|
||||
"p.accountancy_code_buy"=>"AccountancyCodeBuy",
|
||||
|
||||
);
|
||||
// multilang
|
||||
if (! empty($conf->global->MAIN_MULTILANGS))
|
||||
@ -148,6 +153,7 @@ if (! empty($conf->barcode->enabled)) {
|
||||
$fieldstosearchall['p.barcode']='Gencod';
|
||||
$fieldstosearchall['pfp.barcode']='GencodBuyPrice';
|
||||
}
|
||||
|
||||
//global search on extrafields
|
||||
if(!empty($conf->global->PRODUIT_GLOBAL_SEARCH_ON_EXTRAFIELD) && !empty($extralabels)) {
|
||||
foreach($extralabels as $codeExtra => $labelExtra) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user