Commit 1ee9795a authored by HERBERT Ryan's avatar HERBERT Ryan

controllers/sample_set.py add failsafe for filtering

parent 37efef02
......@@ -174,6 +174,9 @@ def all():
list.load_anon_permissions()
result = list.get_values()
# failsafe if filtered display all results
step = len(list) if step is None else step
factory = ModelFactory()
helper = factory.get_instance(type=type)
fields = helper.get_fields()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment