affiner le scope

This commit is contained in:
Lisa Durand 2023-01-09 10:11:41 +01:00
parent 25a7fa5a34
commit 67c104c8eb

View file

@ -60,7 +60,7 @@ class BatchOperation < ApplicationRecord
when BatchOperation.operations.fetch(:accepter) then
query.state_en_instruction
when BatchOperation.operations.fetch(:follow) then
query.without_followers
query.without_followers.en_cours
end
end