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
Search by term: extend to entries url #2832
Conversation
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.
This is a good idea
|
||
$form = $crawler->filter('form[name=search]')->form(); | ||
$data = [ | ||
'search_entry[term]' => 'domain', // a string not available in the database |
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.
You might change the comment and maybe use a real domain name instead?
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.
Yes, I will update the comment to say that the filtering is not limited to domains but is applied to the whole url.
For the value used for the test, I took the value from testFilterOnDomainName
.
The current change is expected to fail with PostgreSQL. It will help confirm if there is case sensitivity issue on the search part. |
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Ready for review |
Great! |
This PR extends search to entries url to provide an alternative way to domain filtering.