Skip to content

Conversation

@Zales0123
Copy link
Contributor

Q A
Branch? 1.0
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Related tickets Fixes https://twitter.com/nickchambers/status/977964619787587585
License MIT

Bug was reporter on Twitter 🐦 by Nick Chambers. I'm not 100% sure about this approach, as it requires providing default time in both form type and filter itself. Nevertheless, it works nice (as shown in scenario). I assume that proposed approach (00:00 as default time for from and 23:59 as default time for to) should be appropriate for most cases :)

@Zales0123 Zales0123 added the Potential Bug Potential bugs or bugfixes, that needs to be reproduced. label Mar 28, 2018
@Zales0123 Zales0123 force-pushed the filtering-orders-bug branch from 9bf9655 to 70184c5 Compare March 28, 2018 07:31
@pamil
Copy link
Contributor

pamil commented Apr 4, 2018

Can we add a test for filtering something made on either 00:00:00 and 23:59:59?

@Zales0123 Zales0123 force-pushed the filtering-orders-bug branch from 70184c5 to 361157d Compare April 6, 2018 08:25
@Zales0123
Copy link
Contributor Author

@pamil done

@pamil pamil merged commit 2a8aafb into Sylius:1.0 Apr 10, 2018
@pamil
Copy link
Contributor

pamil commented Apr 10, 2018

Thank you Matt! 🎋

@Zales0123 Zales0123 deleted the filtering-orders-bug branch April 10, 2018 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Potential Bug Potential bugs or bugfixes, that needs to be reproduced.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants