Pricelist items sorting

Created on 25 February 2024, 9 months ago
Updated 11 March 2024, 9 months ago

Problem/Motivation

In the PriceListRepository we have a method to return the array of the "price_list_ityem" entities and sort them by quantity in the query. However, this query does not consider the weight of the related "pricelist" entity. As a result, we could have an inconsistent list of items.

Proposed resolution

Add the second sort criteria by pricelist weight, like sort('price_list_id.entity.weight')

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇺🇦Ukraine tbkot

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024