Commit 4a7956a5 authored by Okhin's avatar Okhin
Browse files

Utilisation d'un OUTER JOIN et matching de l'adresse par le user_id

parent ca56edcc
......@@ -563,8 +563,8 @@ class Admin extends Controller
a.ville as ville,
a.pays as pays
FROM contreparties c
INNER JOIN users u ON c.user_id =
INNER JOIN adresses a ON c.adresse_id =
LEFT OUTER JOIN users u ON c.user_id =
LEFT OUTER JOIN adresses a ON = a.user_id
WHERE 1=1 ";
if ($texte) {
$query .= " AND ( like '%".$texte."%'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment