Merge pull request #2710 from aynsix/PHRAS-2185-list-manager-error-500

PHRAS-2185 List - Manager - advance mode - 500 error when select a criteria
This commit is contained in:
Nicolas Maillat
2018-08-09 10:05:17 +00:00
committed by GitHub

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) {