app/Http/Controllers/RegularContractCreateController.php を更新
All checks were successful
Deploy so-manager (auto) / deploy (push) Successful in 24s
All checks were successful
Deploy so-manager (auto) / deploy (push) Successful in 24s
This commit is contained in:
parent
f22f447a86
commit
9d9717863e
@ -98,7 +98,7 @@ class RegularContractCreateController extends Controller
|
|||||||
$parks_table = $query->skip(($page - 1) * $perPage)->take($perPage)->get();
|
$parks_table = $query->skip(($page - 1) * $perPage)->take($perPage)->get();
|
||||||
|
|
||||||
if ($sort === 'park_ruby' || $sort === 'station_name_ruby') {
|
if ($sort === 'park_ruby' || $sort === 'station_name_ruby') {
|
||||||
setlocale(LC_COLLATE, 'ja_JP.UTF-8');
|
setlocale(LC_COLLATE, 'ja_JP.utf8');
|
||||||
$parks_table = $parks_table->sort(function ($a, $b) use ($order, $sort) {
|
$parks_table = $parks_table->sort(function ($a, $b) use ($order, $sort) {
|
||||||
// null対策
|
// null対策
|
||||||
$a_val = $a->$sort ?? '';
|
$a_val = $a->$sort ?? '';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user