aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/workbenches_controller.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/controllers/workbenches_controller.rb b/app/controllers/workbenches_controller.rb
index 58fd507d4..ecf70805d 100644
--- a/app/controllers/workbenches_controller.rb
+++ b/app/controllers/workbenches_controller.rb
@@ -66,7 +66,9 @@ class WorkbenchesController < BreadcrumbController
if begin_range > end_range
flash.now[:error] = t('referentials.errors.validity_period')
else
- scope = scope.in_periode(begin_range..end_range)
+ scope = scope.in_periode(begin_range..end_range)
+ @begin_range = begin_range
+ @end_range = end_range
end
scope
end