PrestaShop / PrestaShop

PrestaShop is the universal open-source software platform to build your e-commerce solution.
https://www.prestashop-project.org/
Other
8.14k stars 4.8k forks source link

BO-Stock Management-Bad order when Display products below low stock level first #33681

Open aniszr opened 1 year ago

aniszr commented 1 year ago

Prerequisites

Describe the bug and add attachments

When chechking the checkbox "Display products below low stock level first " the displayed products are not sorted correspending to low stock level first!

There is multiple behaviors in every click on page :

image

image

image

See attached screenrecord:

https://github.com/PrestaShop/PrestaShop/assets/92626242/33b011a5-fc3e-4296-95c9-e119287a9b3c

Expected behavior

Steps to reproduce

  1. BO > Catalog > Stock
  2. Edit three quantity of random products (change quantity to 0 for exp)
  3. Check the "Display products below low stock level first"
  4. See Error : The low level stock products are not displayed in top list

PrestaShop version(s) where the bug happened

8.1.1 & Develop

PHP version(s) where the bug happened

8.1

If your bug is related to a module, specify its name and its version

No response

Your company or customer's name goes here (if applicable).

No response

hibatallahAouadni commented 1 year ago

reproduced on 8.1.x and develop