Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorting in Product Listing via Quantity not work #13556

Closed
LordHansolo opened this issue Feb 8, 2018 · 4 comments
Closed

Sorting in Product Listing via Quantity not work #13556

LordHansolo opened this issue Feb 8, 2018 · 4 comments
Labels
Fixed in 2.2.x The issue has been fixed in 2.2 release line Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release

Comments

@LordHansolo
Copy link

LordHansolo commented Feb 8, 2018

Preconditions

  1. Magento 2.2.2
  2. OS Ubuntu 16.04
  3. Server Apache version 2.4.18
  4. MySQL version 5.7.21
  5. PHP version 7.0.22

Steps to reproduce

  1. Set quantity_and_stock_status product attribute to be "Used for Sorting in Product Listing".
    sorting_via_quantity_admin
  2. Set different quantities for products.
  3. Go to Category Page on storefront and try sort via Quantity.

Expected result

  1. Product are sorted from the lowest to the highest quantity or from the highest to the lowest quantity.

Actual result

  1. Products are sorted via Position.
@magento-engcom-team magento-engcom-team added the Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed label Feb 8, 2018
@LordHansolo LordHansolo changed the title Sorting in Product Listing via Quantity Sorting in Product Listing via Quantity not work Feb 8, 2018
@magento-engcom-team magento-engcom-team added the Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed label Feb 8, 2018
@magento-engcom-team
Copy link
Contributor

@LordHansolo, thank you for your report.
We've acknowledged the issue and added to our backlog.

@magento-engcom-team magento-engcom-team added Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release labels Feb 8, 2018
@magento-engcom-team
Copy link
Contributor

Hi @LordHansolo. Thank you for your report.
The issue has been fixed in #13691 by @nuzil in 2.2-develop branch
Related commit(s):

The fix will be available with the upcoming 2.2.5 release.

@magento-engcom-team
Copy link
Contributor

Hi @LordHansolo. Thank you for your report.
The issue has been fixed in #14179 by @dimonovp in 2.3-develop branch
Related commit(s):

The fix will be available with the upcoming 2.3.0 release.

@magento-engcom-team magento-engcom-team added the Fixed in 2.3.x The issue has been fixed in 2.3 release line label Mar 20, 2018
@umgeric
Copy link

umgeric commented Aug 2, 2018

I have same problem on Magento 2.2.2, I added 2 files changed in this commit to /vendor directory. But it did not fix my problem.
\vendor\magento\module-catalog-inventory\Model\Source\Stock.php
\vendor\magento\module-catalog-inventory\Test\Unit\Model\Source\StockTest.php

What I missing now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed in 2.2.x The issue has been fixed in 2.2 release line Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release
Projects
None yet
Development

No branches or pull requests

3 participants