mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-04 22:16:08 +00:00
Revert "Do not show non-group buy products on bulk coop reports"
This reverts commit f5c2386296.
This commit is contained in:
@@ -33,9 +33,7 @@ module OpenFoodNetwork
|
||||
|
||||
def table_items
|
||||
orders = search.result
|
||||
orders.
|
||||
map { |o| o.line_items.managed_by(@user) }.flatten.
|
||||
select { |li| li.product.group_buy? && li.product.group_buy_unit_size.andand > 0 }
|
||||
orders.map { |o| o.line_items.managed_by(@user) }.flatten
|
||||
end
|
||||
|
||||
def rules
|
||||
|
||||
Reference in New Issue
Block a user