-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The order of the stock locations that is returned from the configured sorter is lost in the SimpleCoordinator. This occurs in the Stock::Availiability class when creating the #stock_item_scope. Previously, the now unused and unusable #sort_availability method was used to re-order the stock locations but this was lost during the refactor to allow extending the default Solidus allocation logic. This commit re-orders the stock locations for all methods called by the stock allocators.
- Loading branch information
Showing
2 changed files
with
10 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters