-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Update custom search sample query #3396
Update custom search sample query #3396
Conversation
@@ -51,7 +51,7 @@ module MyStore | |||
private | |||
|
|||
def get_base_scope | |||
super.where("name LIKE '%rails%'") | |||
super.where("name LIKE '%Rails%'") |
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.
Are my sandbox seeds not loading all products? I only see "Ruby" products, and not any "Rails" products. If the seeds only populate "Ruby" products perhaps we should change this query to %Ruby%
.
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.
Looks like the sandbox only has "Ruby" products https://github.com/solidusio/solidus/blob/master/sample/db/samples/products.rb while the
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.
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.
@peterberkenbosch thank you 👍
@peterberkenbosch can you please take a look at the @JDutil comment here? Thanks! |
f9a1ae8
to
a40fb94
Compare
This should be all good now @kennyadsl, thanks @JDutil |
This commit fixes a documentation issue, since we do not load RoR products any longer (8221dcb) the documentation is updated to use Ruby named products.
a40fb94
to
bacf297
Compare
Change the query to have an uppercase R to actually return the sample products.
Description
Checklist: