Compare commits

...

3 Commits

Author SHA1 Message Date
llaniau 086d456746 Desactiver nofollow 2021-03-30 09:54:34 +02:00
llaniau a2466d344f Batch candidature 520 2021-03-29 17:07:59 +02:00
llaniau 9c5dc1466b V2.8.3 2021-03-29 14:31:44 +02:00
5 changed files with 4 additions and 5 deletions
@@ -50,7 +50,7 @@
{% endblock %}
{% if app.environment == "dev" %}
<meta name="robots" content="noindex,nofollow">
{# <meta name="robots" content="noindex,nofollow"> #}
{% else %}
{# <meta name="robots" content="noindex,nofollow"> #}
{% endif %}
@@ -17,7 +17,7 @@
<meta charset="utf-8">
{% if app.environment == "dev" %}
<meta name="robots" content="noindex,nofollow">
{# <meta name="robots" content="noindex,nofollow"> #}
{% else %}
{# <meta name="robots" content="noindex,nofollow"> #}
{% endif %}
+1 -1
View File
@@ -80,7 +80,7 @@ twig:
globals:
push_public_key: "%push_params.public_key%"
fairlane_cookie_consent: '@fairlane_cookie_consent.twig'
version: '2.8.2'
version: '2.8.3'
@@ -213,7 +213,7 @@ class BatchController extends Controller
foreach ($messages as $m) {
$answer = $m->getAnswer();
if(!$answer->getStatusReponse() ){
if(!$answer->getStatusReponse() || $answer->getStatusReponse()=="A_TRAITER"){
$answer->setStatusReponse("CONTACTE");
$em->persist($answer);
$em->flush();
@@ -33,7 +33,6 @@ class MessageRepository extends \Doctrine\ORM\EntityRepository
->select('m', 'a')
->join('m.answer', 'a')
->where('m.status <> :status')
->andWhere('a.comment is null')
->setParameter(':status', 'DRAFT')
;