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

Date filter for Orders #34

Closed
jollopre opened this issue Sep 24, 2017 · 1 comment
Closed

Date filter for Orders #34

jollopre opened this issue Sep 24, 2017 · 1 comment
Labels
client A ticket that is specific for the client code

Comments

@jollopre
Copy link
Owner

jollopre commented Sep 24, 2017

The list of Orders for a given customer it is expected to be long so that filters by date for created_at and updated_at will help to select the right record when the user interacts with the interface. At least filter by year is required.

The time estimated to complete this task is 2 hours.

@jollopre jollopre added the client A ticket that is specific for the client code label Sep 24, 2017
@jollopre jollopre added this to the Pre-Launch v1.1.0 milestone Oct 21, 2017
jollopre added a commit that referenced this issue Feb 21, 2018
jollopre added a commit that referenced this issue Feb 22, 2018
jollopre added a commit that referenced this issue Feb 24, 2018
unit test for by_date concern. #34

renamed concern to by_date_time. Added search scope for order model. orders#search action added. #34

search UI for orders. Modify db format for dates. #34
@jollopre
Copy link
Owner Author

A searchable functionality built in place permits look for orders based on the following formats:

  • YYYY
  • YYYY-MM
  • YYYY-MM-DD
  • YYYY-MM-DD HH
  • YYYY-MM-DD HH:MM
  • YYYY-MM-DD HH:MM:SS

which gives enough power to narrow down the results significantly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client A ticket that is specific for the client code
Projects
None yet
Development

No branches or pull requests

1 participant