fix query for instructeur tabs count
This commit is contained in:
parent
2d66a67564
commit
1441855fe8
1 changed files with 1 additions and 0 deletions
|
@ -253,6 +253,7 @@ class Instructeur < ApplicationRecord
|
|||
AND follows.unfollowed_at IS NULL
|
||||
WHERE dossiers.state != 'brouillon'
|
||||
AND dossiers.groupe_instructeur_id in (:groupe_instructeur_ids)
|
||||
AND (dossiers.hidden_by_user_at IS NULL OR dossiers.state != 'en_construction' OR dossiers.hidden_by_reason = 'expired')
|
||||
EOF
|
||||
|
||||
sanitized_query = ActiveRecord::Base.sanitize_sql([
|
||||
|
|
Loading…
Reference in a new issue