Closed yhbyun closed 8 years ago
@yhbyun thanks for the PR! Is there an example on the website where it would return an incorrect result set? Thanks very much for trying to explain the issue!
@msurguy http://laravel-tricks.com/search?q=eloquent
When I search with 'eloquent', many irrelevant result are returned, such as
Thanks! I've merged the PR and will try to update the site soon!
If I search the tricks by
test
term, the following SQL is executed.Two parts of that SQL causes irrelevant result to the search term.
I think that title only would be sufficient for search and in order to fix the above bug, I modified the code.