app/Http/Controllers/RegularContractCreateController.php を更新
All checks were successful
Deploy so-manager (auto) / deploy (push) Successful in 23s
All checks were successful
Deploy so-manager (auto) / deploy (push) Successful in 23s
This commit is contained in:
parent
e13302475e
commit
5dff9d627a
@ -94,7 +94,7 @@ class RegularContractCreateController extends Controller
|
|||||||
$parks_table = $query->get();
|
$parks_table = $query->get();
|
||||||
|
|
||||||
if ($sort === 'park_ruby' || $sort === 'station_name_ruby') {
|
if ($sort === 'park_ruby' || $sort === 'station_name_ruby') {
|
||||||
$collator = new \Collator('ja_JP');
|
$collator = new \Collator('ja');
|
||||||
$parks_table = $parks_table->sort(function ($a, $b) use ($order, $sort, $collator) {
|
$parks_table = $parks_table->sort(function ($a, $b) use ($order, $sort, $collator) {
|
||||||
$a_val = $a->$sort ?? '';
|
$a_val = $a->$sort ?? '';
|
||||||
$b_val = $b->$sort ?? '';
|
$b_val = $b->$sort ?? '';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user