can filter on object properties
This commit is contained in:
parent
6152d2e885
commit
f0f8bc595e
2 changed files with 3 additions and 3 deletions
|
|
@ -1456,7 +1456,7 @@ class ExtraFields
|
|||
}
|
||||
// can use MODE request (list or view)
|
||||
if (strpos($InfoFieldList[4], '$MODE$') !== false) {
|
||||
$InfoFieldList[4] = str_replace('$MODE$', $mode, $InfoFieldList[4]);
|
||||
$InfoFieldList[4] = str_replace('$MODE$', (string) $mode, $InfoFieldList[4]);
|
||||
}
|
||||
|
||||
// current object id can be use into filter
|
||||
|
|
@ -1478,7 +1478,7 @@ class ExtraFields
|
|||
} else {
|
||||
$sqlwhere .= ' WHERE 1=1';
|
||||
}
|
||||
print $sqlwhere;
|
||||
|
||||
// Add Usf filter on second line
|
||||
/*
|
||||
if ($Usf) {
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ $arrayofcss = array();
|
|||
llxHeader('', $title, $help_url, '', 0, 0, $arrayofjs, $arrayofcss, '', 'mod-upload page-card');
|
||||
//top_htmlhead($head, $title, 0, 0, $arrayofjs, $arrayofcss);
|
||||
|
||||
print load_fiche_titre('', '', '', 0, '', 0, '<h2>'.$title.'</h2>');
|
||||
print load_fiche_titre('', '', '', 0, '', '', '<h2>'.$title.'</h2>');
|
||||
|
||||
|
||||
// Instantiate hooks of thirdparty module
|
||||
|
|
|
|||
Loading…
Reference in a new issue