Gestionnaire Legacy UI: fix nouveaux dossier list filter

This commit is contained in:
Simon Lehericey 2017-10-05 15:58:52 +02:00
parent f9d9ee41f7
commit c602efee18
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ class Backoffice::DossiersListController < ApplicationController
params[:dossiers_smart_listing] = {page: dossiers_list_facade.service.default_page} params[:dossiers_smart_listing] = {page: dossiers_list_facade.service.default_page}
end 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 :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 :all_state_dossiers, service.all_state.order_by_updated_at('asc')
default_smart_listing_create :archived_dossiers, service.archive default_smart_listing_create :archived_dossiers, service.archive

View file

@ -64,7 +64,7 @@ class DossiersListFacades
end end
def nouveaux_total def nouveaux_total
service.nouveaux.count service.nouveaux.without_followers.count
end end
def suivi_total def suivi_total