Sergey Karakhanyan
Sergey Karakhanyan
Yes, of course, this package is for that kind of stuff, for the dynamic meta data. Can I help you to do that?
@Wewerica you can have different keyword and description for each route, but at this moment you can't set it like you set dynamic title, it can be different for every...
@Wewerica you are not asking too much, I want this package to be useful and want to add a lot of functionalities to it. Thanks for your suggestion here.
Hi @robjbrain, The search method is not accepting an array, it accepts a search query string. So you should use this as following: `Post::search($searchTerm)->orderBy('created_at', 'asc');` If you have any further...
Hi @robjbrain, have you tried the solution that we suggested? Do you have any other problems using the drivers?
@robjbrain you can rewrite it like this ``` $results = Topic::search($searchTerm) ->where('status', 'enabled') ->where('forum_id', $request->input('forum_id')) ->orderBy('created_at', 'desc') ->paginate(30); ```
@razvaniacob working on it. 👌
Hi @razvaniacob I did setup a fresh project and could not reproduce the issue you are having. 1. I have setup typesense driver 2. Added Searchable to User model 3....
@razvaniacob have you tried this line `->query(fn (Builder $query) => $query->with(['imported_district', 'neighbourhood']))` like this `$query->with(['imported_district', 'neighbourhood'])`, without putting it inside query, as it's just a ->with.
@davidstoker thanks for your input, this helped a lot with solving this. @razvaniacob cc: @driesvints @jasonbosco https://github.com/laravel/scout/pull/817