Skip to content

Commit

Permalink
fix(services-list): search thirdparty by name
Browse files Browse the repository at this point in the history
  • Loading branch information
atm-irvine committed Jan 14, 2025
1 parent 7ac84bd commit b60038f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog_Koesio.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## Backported from 17.0 :
- Backport 17.0 PR #32654 : Search thirdparty in services list
- Backport develop PR #32129 : New field rule for lines dates
- Backport 17.0 PR #32247 : added error message in cron
- Backport develop : fix abs fatal error
Expand Down
4 changes: 3 additions & 1 deletion htdocs/contrat/services_list.php
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,9 @@
$sql .= " AND cd.date_fin_validite >= '".$db->idate($now)."'";
}
if ($search_name) {
$sql .= natural_search("c.ref", $search_name);
/** BACKPORT #32654 */
$sql .= natural_search("s.nom", $search_name);
/** BACKPORT #32654 */
}
if ($search_contract) {
$sql .= natural_search("c.ref", $search_contract);
Expand Down

0 comments on commit b60038f

Please sign in to comment.