Merge pull request #788 from sgmap/fix_dossier_list_legacy_ui
Gestionnaire Legacy UI: fix nouveaux dossier list filter
This commit is contained in:
commit
2241d2604f
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}
|
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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue