Files
opensourcepos/app/Models
objecttothis 9138127a67 fix(items): optimize quantity sum handling and add test to prevent over-counting
- 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>
2026-08-21 12:49:51 +04:00
..
2024-06-15 17:19:15 +02:00
2025-03-28 21:24:21 +04:00