mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix search on entities
This commit is contained in:
parent
3857c08277
commit
358bc6d5df
|
|
@ -282,6 +282,7 @@ $searchkey = GETPOST('searchstring', 'none');
|
|||
|
||||
if ($action == 'replacesiteconfirm') {
|
||||
$listofpages = getPagesFromSearchCriterias('', $algo, $searchkey, 1000, $sortfield, $sortorder);
|
||||
var_dump($listofpages);
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -3531,9 +3532,10 @@ if ($action == 'replacesite' || $action == 'replacesiteconfirm' || $massaction =
|
|||
print $langs->trans("SearchString");
|
||||
print '</div>';
|
||||
print '<div class="tagtd">';
|
||||
print '<input type="text" name="searchstring" value="'.dol_escape_htmltag($searchkey).'" autofocus>';
|
||||
|
||||
print '<input type="submit" class="button" name="buttonreplacesitesearch" value="'.$langs->trans("Search").'">';
|
||||
print '<input type="text" name="searchstring" value="'.dol_escape_htmltag($searchkey, 0, 0, '', 1).'" autofocus>';
|
||||
|
||||
print '<input type="submit" class="button" name="buttonreplacesitesearch" value="'.dol_escape_htmltag($langs->trans("Search")).'">';
|
||||
|
||||
print '</div>';
|
||||
print '</div>';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user