Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #16477 Fix ProductTaxons' positioning logic (NoResponseMate)
This PR was merged into the 1.12 branch. Discussion ---------- | Q | A |-----------------|----- | Branch? | 1.12 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Related tickets | outlined in #15225 (comment) | License | MIT The second issue: >The other error is smaller, the count should not be reduced by 1 because the positioner will check for $newPosition >= $maxPosition. If you move a product to the last one in the taxon it will change it to the second-last position. does not occur since when the `$newPosition >= $maxPosition` check is true, the position is set to `-1` instead of being reduced by 1. After that, the default Gedmo logic kicks in and `-1` gets converted into the last position. Commits ------- 4fa32f3 Fix ProductTaxons' positioning logic
- Loading branch information