mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-09-14 14:26:59 -04:00
- Refactor quantity sum calculation by introducing a subquery to handle SUM without over-counting due to joins. - Update search logic and related query clauses for consistent sorting by total quantities across locations. - Add test to verify correct quantity aggregation without duplication. Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>