Skip to content
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

Global Search module - doesn't work in Laravel 6 generator #1

Closed
PovilasKorop opened this issue Sep 27, 2019 · 1 comment

Comments

@PovilasKorop
Copy link
Collaborator

commented Sep 27, 2019

Module: Global Search

Reported by a customer. Generated code throws error when doing global search. Visually error was "The results could not be loaded":

Screen Shot 2019-09-27 at 3 35 00 PM

In the actual code it was this error:

Call to undefined function App\Http\Controllers\Admin\title_case() at app/Http/Controllers/Admin/GlobalSearchController.php:45)

Reason: Laravel 6 generator deprecated title_case() helper and moved it to Str::title(), so need to change the generator template to support that.

@LaravelDaily LaravelDaily added the bug label Sep 27, 2019
@PovilasKorop

This comment has been minimized.

Copy link
Collaborator Author

commented Sep 27, 2019

Fix released to live today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.