-
Couldn't load subscription status.
- Fork 17
IBX-9807: Introduce date range single component #1582
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
Conversation
src/bundle/Resources/public/js/scripts/core/date.time.picker.js
Outdated
Show resolved
Hide resolved
src/bundle/Resources/public/js/scripts/core/date.time.range.single.js
Outdated
Show resolved
Hide resolved
src/bundle/Resources/public/js/scripts/core/date.time.range.single.js
Outdated
Show resolved
Hide resolved
578f7a1 to
7c1454c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
The issue should be fixed @KamilSznajdrowicz, please retest. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More bugs in search and with custom range:
- When I enter a keyword in the search input and click "Search", the system automatically sets today’s date (27/06/2025) as the value for both "Last Modified" and "Created" filters — even though I didn’t select any date.
Clicking "Clear" does not remove these date values, and the search remains filtered by today’s date.
I’ve attached a recording of the issue and a comparison with another environment where the filters reset correctly.
Nagranie.z.ekranu.2025-06-27.o.15.54.45.mov
- When I set a custom date range in the "Last Modified" or "Created" filter, the "Apply" button remains disabled and cannot be clicked — even though a valid date range has been selected.
Nagranie.z.ekranu.2025-06-27.o.16.02.17.mov
- In the Search, Trash, and Discounts views, when selecting a custom date range, the selected time shifts 2 hours earlier than intended — even though my timezone is correctly set to Europe/Warsaw.
Nagranie.z.ekranu.2025-06-29.o.15.07.41.mov
0adef4a to
1ae8916
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tischsoic hi :) last modified works but I have still issue with Created:
- When I set the "Created" filter to "last week" and then click "Clear," the filter value does not get removed. The "Created" filter remains set, and the search continues to be filtered by that date range instead of resetting.
created.not.delete.mov
- When I set a custom date range in the "Created" filter, the "Apply" button remains disabled and cannot be clicked
crated.custom.range.mov
1ae8916 to
e2de6e0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixes!
QA Approved
Regression ibexa/commerce#1357
|
| const { periodSelector, endSelector } = lastModifiedDateRangeNode.dataset; | ||
| const lastModifiedPeriodValue = doc.querySelector(periodSelector).value; | ||
| const lastModifiedEndDate = doc.querySelector(endSelector).value; | ||
| const lastModifiedStartDateValue = lastModifiedStartDate.value; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick - not sure if we need this kind of variables, where you just assign property from object. :)




Related PRs:
Description:
For QA:
Documentation: