diff --git a/app/controllers/audits_controller.rb b/app/controllers/audits_controller.rb
index 5cb0f22d8b..8d68291cee 100644
--- a/app/controllers/audits_controller.rb
+++ b/app/controllers/audits_controller.rb
@@ -10,7 +10,7 @@ def index
end
def show
- @items = View::Inventory.items_for_location(@audit.storage_location)
+ @items = View::Inventory.items_for_location(@audit.storage_location, include_omitted: true)
end
def edit
@@ -93,7 +93,7 @@ def set_storage_locations
end
def set_items
- @items = current_organization.items.alphabetized
+ @items = current_organization.items.where(active: true).alphabetized
end
def save_audit_status_and_redirect(params)
diff --git a/app/views/audits/_form.html.erb b/app/views/audits/_form.html.erb
index d9014cae5f..8cb798a588 100644
--- a/app/views/audits/_form.html.erb
+++ b/app/views/audits/_form.html.erb
@@ -14,7 +14,7 @@
<%= simple_form_for @audit, data: { controller: "form-input" }, html: {class: "storage-location-required"} do |f| %>
- <%= render partial: "storage_locations/source", object: f, locals: { label: "Storage location", error: "What storage location are you auditing?" } %>
+ <%= render partial: "storage_locations/source", object: f, locals: { label: "Storage location", error: "What storage location are you auditing?", include_omitted_items: true } %>