We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36b9034 commit 0d68ddcCopy full SHA for 0d68ddc
1 file changed
app/controllers/kits_controller.rb
@@ -1,6 +1,6 @@
1
class KitsController < ApplicationController
2
def index
3
- @kits = current_organization.kits.includes(line_items: :item).class_filter(filter_params)
+ @kits = current_organization.kits.includes(:item, line_items: :item).class_filter(filter_params)
4
@inventory = View::Inventory.new(current_organization.id)
5
unless params[:include_inactive_items]
6
@kits = @kits.active
0 commit comments