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

BO - cannot clear filters when we Filter by empty category #32858

Closed
2 tasks done
aniszr opened this issue Jun 7, 2023 · 4 comments
Closed
2 tasks done

BO - cannot clear filters when we Filter by empty category #32858

aniszr opened this issue Jun 7, 2023 · 4 comments
Assignees
Labels
8.1.x Branch BO Category: Back Office Bug Type: Bug Categories Label: Which BO under menu is concerned Major Severity: major bug > https://build.prestashop.com/news/severity-classification Old Products Page Concerns the old product page PM ✔️ Status: check done, behavior approved Regression Type: regression Verified The issue has been reproduced
Milestone

Comments

@aniszr
Copy link

aniszr commented Jun 7, 2023

Prerequisites

Describe the bug and add attachments

When you create a new empty Category(there is no products assigned to this category), and try to filter products by the category that you just created, you can observe that you can’t clear the filter you just used and you can’t display the rest of products, the only way out of this issue is to create a new product and assign it to the empty category so you can get the normal display in which you have clear filter option and Filter by categories drop-down list.

See attached screenrecord :

Performance.store81x.mp4

Expected behavior

See attached screen shot (PrestaShop 8.0.4)
image

Steps to reproduce

  1. BO > Catalog > Categories
  2. Click on Add new category button > Click on Save button
  3. Catalog > Products
  4. Select the category name you just created in Filter by categories drop-down list
  5. See error > Clear filter option and Filter by categories drop-down list are not displayed
  6. Click on Create new product button
  7. Create a random product and assign it to the category you've chosen as a filter

PrestaShop version(s) where the bug happened

8.1.x & 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

@aniszr aniszr added Bug Type: Bug New New issue not yet processed by QA labels Jun 7, 2023
@florine2623
Copy link
Contributor

Hello @aniszr ,

I think this is a improvement But to be sure, we should ping @PrestaShop/product-team to get their view on this.

On product page, when filtering on a category without product, this page is displayed. Is that alright ?
Screenshot 2023-06-07 at 18 18 47

Or should it be like like previous versions :
Screenshot 2023-06-07 at 18 19 29

@florine2623 florine2623 added BO Category: Back Office NMI Status: issue needs more information Old Products Page Concerns the old product page Categories Label: Which BO under menu is concerned 8.1.x Branch and removed New New issue not yet processed by QA labels Jun 7, 2023
@hibatallahAouadni hibatallahAouadni added the Waiting for PM Status: action required, waiting for product feedback label Jun 7, 2023
@Hlavtox
Copy link
Contributor

Hlavtox commented Jun 8, 2023

@florine2623 This is definitely a bug. And there is no way around it.

It basically breaks your product management until you add some product into this category. If you manage to remember the name of the category you selected, because you can't see it.

"Manage your products" should be displayed only if there is no product at all.

Labels set after discussion with @MatShir

@Hlavtox Hlavtox added PM ✔️ Status: check done, behavior approved Major Severity: major bug > https://build.prestashop.com/news/severity-classification and removed Waiting for PM Status: action required, waiting for product feedback NMI Status: issue needs more information labels Jun 8, 2023
@MatShir MatShir added the Regression Type: regression label Jun 8, 2023
@MatShir
Copy link
Contributor

MatShir commented Jun 8, 2023

It is a regression. It is working well on 8.0.4

@hibatallahAouadni hibatallahAouadni added Ready Status: Issue is ready to be worked on Verified The issue has been reproduced labels Jun 9, 2023
@boherm boherm self-assigned this Jun 9, 2023
@WahbiPS WahbiPS assigned FabienPapet and unassigned M0rgan01 Jun 13, 2023
@PululuK
Copy link
Member

PululuK commented Jun 15, 2023

fixe by #32906
thanks

@PululuK PululuK closed this as completed Jun 15, 2023
@prestashop-issue-bot prestashop-issue-bot bot removed the Ready Status: Issue is ready to be worked on label Jun 15, 2023
@MatShir MatShir added this to the 8.1.1 milestone Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.1.x Branch BO Category: Back Office Bug Type: Bug Categories Label: Which BO under menu is concerned Major Severity: major bug > https://build.prestashop.com/news/severity-classification Old Products Page Concerns the old product page PM ✔️ Status: check done, behavior approved Regression Type: regression Verified The issue has been reproduced
Projects
None yet
Development

No branches or pull requests

9 participants