mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-30 21:27:17 +00:00
Use union operator instead of concatenate to load order cycle collection
This commit is contained in:
committed by
Maikel Linke
parent
b17d8c2fe3
commit
ce56e667a4
@@ -119,9 +119,9 @@ module Admin
|
||||
OrderCycle.preload(:schedules).ransack(params[:q]).result.accessible_by(spree_current_user)
|
||||
end
|
||||
|
||||
ocs.undated +
|
||||
ocs.soonest_closing +
|
||||
ocs.soonest_opening +
|
||||
ocs.undated |
|
||||
ocs.soonest_closing |
|
||||
ocs.soonest_opening |
|
||||
ocs.closed
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user