Adapt search function at the PreferenceListDossier table

This commit is contained in:
Xavier J 2016-10-07 14:58:45 +02:00
parent 7c2bcd0b64
commit ac971a805e
9 changed files with 37 additions and 81 deletions

View file

@ -79,6 +79,10 @@ class DossiersListFacades
(@liste == 'invite' ? 'active' : '')
end
def search_class
(@liste == 'search' ? 'active' : '')
end
def brouillon_total
service.brouillon.count
end