mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
39b63052da
|
|
@ -1126,7 +1126,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
|
|||
// State
|
||||
if (!getDolGlobalString('MEMBER_DISABLE_STATE')) {
|
||||
print '<tr><td>'.$langs->trans('State').'</td><td>';
|
||||
if ($soc->country_id || GETPOSTISSET('country_id')) {
|
||||
if ($soc->country_id || GETPOSTISSET('country_id')) {
|
||||
print img_picto('', 'state', 'class="pictofixedwidth"');
|
||||
print $formcompany->select_state(GETPOSTISSET('state_id') ? GETPOSTINT('state_id') : $soc->state_id, GETPOSTISSET('country_id') ? GETPOSTINT('country_id') : $soc->country_code);
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -280,7 +280,6 @@ if (empty($reshook)) {
|
|||
$search_filter = "";
|
||||
$search_status = "";
|
||||
$search_import_key = '';
|
||||
$catid = "";
|
||||
$search_all = "";
|
||||
$toselect = array();
|
||||
$search_datec_start = '';
|
||||
|
|
@ -523,7 +522,7 @@ if ($search_firstname) {
|
|||
$sql .= natural_search("d.firstname", $search_firstname);
|
||||
}
|
||||
if ($search_lastname) {
|
||||
$sql .= natural_search(array("d.firstname", "d.lastname", "d.societe"), $search_lastname);
|
||||
$sql .= natural_search("d.lastname", $search_lastname);
|
||||
}
|
||||
if ($search_gender != '' && $search_gender != '-1') {
|
||||
$sql .= natural_search("d.gender", $search_gender);
|
||||
|
|
@ -532,7 +531,7 @@ if ($search_login) {
|
|||
$sql .= natural_search("d.login", $search_login);
|
||||
}
|
||||
if ($search_company) {
|
||||
$sql .= natural_search("s.nom", $search_company);
|
||||
$sql .= natural_search(array("s.nom", "d.societe"), $search_company);
|
||||
}
|
||||
if ($search_email) {
|
||||
$sql .= natural_search("d.email", $search_email);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user