diff --git a/app/controllers/my_module_repositories_controller.rb b/app/controllers/my_module_repositories_controller.rb index e32d8cf4d..b2a201544 100644 --- a/app/controllers/my_module_repositories_controller.rb +++ b/app/controllers/my_module_repositories_controller.rb @@ -130,7 +130,7 @@ class MyModuleRepositoriesController < ApplicationController render json: { html: render_to_string( partial: 'my_modules/repositories/full_view_table', - locals: { include_stock_consumption: params[:include_stock_consumption] } + locals: { include_stock_consumption: params[:include_stock_consumption] == 'true' } ) } end