mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user