Add filtering to the dossiers table

This commit is contained in:
gregoirenovel 2017-09-28 11:04:18 +02:00
parent 801318b053
commit 0705efde30
8 changed files with 164 additions and 12 deletions

View file

@ -10,4 +10,8 @@ class ProcedurePresentation < ActiveRecord::Base
def sort
JSON.parse(read_attribute(:sort))
end
def filters
JSON.parse(read_attribute(:filters))
end
end