Merge branch 'master' of https://github.com/alchemy-fr/Phraseanet into PHRAS-2175-subdef-building-duration

This commit is contained in:
aina-esokia
2018-08-09 15:45:27 +04:00
20 changed files with 2397 additions and 4391 deletions

View File

@@ -25,7 +25,7 @@ class Notifier implements NotifierInterface
private $logger;
/** @var integer */
private $timeout = 2;
private $timeout = 10;
public function __construct(\ZMQSocket $socket, LoggerInterface $logger)
{

View File

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