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

Fixes price filter with non-numeric input #4225

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

sreichel
Copy link
Contributor

@sreichel sreichel commented Sep 24, 2024

Description (*)

Disallows to filter price by non-numeric string.

Note: instead of having zero results, as suggested in mentioned issue, it will ignore input and return all products.

(This could be used for differnt columns, but thats another task.)

Ref: https://sentry.io/answers/html-text-input-allow-only-numeric-input/

Fixed Issues (if relevant)

  1. Fixes Filtering columns grid - Issue with products having the price zero #3158

@github-actions github-actions bot added the Component: Adminhtml Relates to Mage_Adminhtml label Sep 24, 2024
@ADDISON74
Copy link
Contributor

If we fix this problem, all the grids in the Backend will have to be revised. For example, the Manage Customers grid, we are allowed to input strings on the ID column for the From and To inputs.

@sreichel
Copy link
Contributor Author

sreichel commented Sep 24, 2024

If we fix this problem, all the grids in the Backend will have to be revised

Yes, i know, but please not here in this PR.

Better make small steps ...

edit:

Pls collect all the grids that need changes, make new issue and we move on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Adminhtml Relates to Mage_Adminhtml
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Filtering columns grid - Issue with products having the price zero
2 participants