diff --git a/app/controllers/api/v1/inventory_cells_controller.rb b/app/controllers/api/v1/inventory_cells_controller.rb index 18e3245c9..cd93ebaac 100644 --- a/app/controllers/api/v1/inventory_cells_controller.rb +++ b/app/controllers/api/v1/inventory_cells_controller.rb @@ -12,7 +12,7 @@ module Api def index cells = @inventory_item.repository_cells - .preload(value: @inventory.cell_preload_includes) + .preload(:repository_column, value: @inventory.cell_preload_includes) .page(params.dig(:page, :number)) .per(params.dig(:page, :size)) render jsonapi: cells, each_serializer: InventoryCellSerializer