Skip to content

Commit

Permalink
Merge pull request #32654 from atm-irvine/fix_search_thirdparty_by_name
Browse files Browse the repository at this point in the history
fix(services-list): search thirdparty by name
  • Loading branch information
eldy authored Jan 15, 2025
2 parents 6b0c8f3 + a34eaa0 commit 49feeee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/contrat/services_list.php
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@
$sql .= " AND cd.date_fin_validite >= '".$db->idate($now)."'";
}
if ($search_name) {
$sql .= natural_search("c.ref", $search_name);
$sql .= natural_search("s.nom", $search_name);
}
if ($search_contract) {
$sql .= natural_search("c.ref", $search_contract);
Expand Down

0 comments on commit 49feeee

Please sign in to comment.