aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/workbenches_controller.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/controllers/workbenches_controller.rb b/app/controllers/workbenches_controller.rb
index 7f108b266..58fd507d4 100644
--- a/app/controllers/workbenches_controller.rb
+++ b/app/controllers/workbenches_controller.rb
@@ -7,9 +7,7 @@ class WorkbenchesController < BreadcrumbController
def show
scope = params[:q] ? resource.all_referentials : resource.referentials.ready
scope = ransack_associated_lines(scope)
-
@q = ransack_periode(scope).ransack(params[:q])
- @q.organisation_name_eq_any ||= current_organisation.name unless params[:q]
@wbench_refs = sort_result(@q.result).paginate(page: params[:page], per_page: 30)
show! do
build_breadcrumb :show