Files
opensourcepos/app/Models
objecttothis d01ea38b69 fix(items): add support for sorting by quantity across all locations
- Implement conditional logic to calculate and sort by the sum of quantities across all locations when `stock_location_id` is invalid.
- Adjust query joins and select clauses to handle the new sorting behavior.
- Maintain existing sorting logic for other cases to ensure backward compatibility.

Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>
2026-08-21 12:22:23 +04:00
..
2024-06-15 17:19:15 +02:00
2025-03-28 21:24:21 +04:00