Gestionnaire Legacy UI: fix nouveaux dossier list filter
This commit is contained in:
parent
f9d9ee41f7
commit
c602efee18
2 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ class Backoffice::DossiersListController < ApplicationController
|
|||
params[:dossiers_smart_listing] = {page: dossiers_list_facade.service.default_page}
|
||||
end
|
||||
|
||||
default_smart_listing_create :new_dossiers, service.nouveaux.order_by_updated_at('asc')
|
||||
default_smart_listing_create :new_dossiers, service.nouveaux.without_followers.order_by_updated_at('asc')
|
||||
default_smart_listing_create :follow_dossiers, service.suivi.order_by_updated_at('asc')
|
||||
default_smart_listing_create :all_state_dossiers, service.all_state.order_by_updated_at('asc')
|
||||
default_smart_listing_create :archived_dossiers, service.archive
|
||||
|
|
|
@ -64,7 +64,7 @@ class DossiersListFacades
|
|||
end
|
||||
|
||||
def nouveaux_total
|
||||
service.nouveaux.count
|
||||
service.nouveaux.without_followers.count
|
||||
end
|
||||
|
||||
def suivi_total
|
||||
|
|
Loading…
Reference in a new issue