Closed mgralikowski closed 6 years ago
https://github.com/vsch/laravel-translation-manager/wiki/Configuration
$user_list = $query->orderby('id')->get(['id', 'email']);
should be:
$user_list = $query->orderby('id')->get(['id', 'email', 'name'])->toArray();
because (in my case - L 5.5) https://github.com/vsch/laravel-translation-manager/blob/master/src/Controller.php#L1921 is_array doesn't consider Collection as array so user managing doesn't shows up.
Also add "name" to fields because is used later in users list ;)
https://github.com/vsch/laravel-translation-manager/wiki/Configuration
$user_list = $query->orderby('id')->get(['id', 'email']);
should be:
$user_list = $query->orderby('id')->get(['id', 'email', 'name'])->toArray();
because (in my case - L 5.5) https://github.com/vsch/laravel-translation-manager/blob/master/src/Controller.php#L1921 is_array doesn't consider Collection as array so user managing doesn't shows up.