Skip to content
This repository has been archived by the owner on Apr 16, 2020. It is now read-only.

Update search filter description #692

Merged
merged 3 commits into from May 13, 2019
Merged

Update search filter description #692

merged 3 commits into from May 13, 2019

Conversation

mclassic
Copy link
Contributor

Update the search filter description to explain date parameter.

@mclassic mclassic requested a review from a team as a code owner May 10, 2019 20:10
@mclassic mclassic self-assigned this May 10, 2019
@@ -14,7 +14,8 @@ get:
- description: |
The collection items filter requires a special format.
Use "," for multiple allowed values. Use ";" for multiple fields.
Use one or more of the listed filter fields. i.e. `is:customer email:bob@test.com`
Use one or more of the listed filter fields. i.e. `is:customer email:bob@test.com`.
The `date` value can be surrounded with quotes and accepts [any format that PHP's `strtotime` supports.](https://www.php.net/manual/en/function.strtotime.php)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's better to describe the particular usage cases which we will certainly support whatever technology is used for this endpoint(s).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will make the description field very long. Can you suggest where else I could put it?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How long? Do users need a zillion use cases, everyone with that std library function provides? I think putting here is okay.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I'll add some and get rid of this link.

@mclassic mclassic merged commit 931cc61 into master May 13, 2019
@mclassic mclassic deleted the search-dates branch May 13, 2019 18:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants