From 4f9e07c030e84a74b5690d6be354fdfc6c16b109 Mon Sep 17 00:00:00 2001 From: aina-esokia Date: Thu, 9 Aug 2018 12:08:59 +0400 Subject: [PATCH] change field name in user query --- lib/classes/User/Query.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/classes/User/Query.php b/lib/classes/User/Query.php index 3cfb5749b1..a5b11b84c5 100644 --- a/lib/classes/User/Query.php +++ b/lib/classes/User/Query.php @@ -839,19 +839,19 @@ class User_Query } if ($this->activities) { - $sql .= $this->generate_field_constraints('activite', $this->activities); + $sql .= $this->generate_field_constraints('activity', $this->activities); } if ($this->positions) { - $sql .= $this->generate_field_constraints('fonction', $this->positions); + $sql .= $this->generate_field_constraints('job', $this->positions); } if ($this->countries) { - $sql .= $this->generate_field_constraints('pays', $this->countries); + $sql .= $this->generate_field_constraints('country', $this->countries); } if ($this->companies) { - $sql .= $this->generate_field_constraints('societe', $this->companies); + $sql .= $this->generate_field_constraints('company', $this->companies); } if ($this->templates) {