change field name in user query

This commit is contained in:
aina-esokia
2018-08-09 12:08:59 +04:00
parent 2ce9a375fb
commit 4f9e07c030

View File

@@ -839,19 +839,19 @@ class User_Query
} }
if ($this->activities) { if ($this->activities) {
$sql .= $this->generate_field_constraints('activite', $this->activities); $sql .= $this->generate_field_constraints('activity', $this->activities);
} }
if ($this->positions) { if ($this->positions) {
$sql .= $this->generate_field_constraints('fonction', $this->positions); $sql .= $this->generate_field_constraints('job', $this->positions);
} }
if ($this->countries) { if ($this->countries) {
$sql .= $this->generate_field_constraints('pays', $this->countries); $sql .= $this->generate_field_constraints('country', $this->countries);
} }
if ($this->companies) { if ($this->companies) {
$sql .= $this->generate_field_constraints('societe', $this->companies); $sql .= $this->generate_field_constraints('company', $this->companies);
} }
if ($this->templates) { if ($this->templates) {