This commit is contained in:
parent
f547220af5
commit
4924bc9359
34
app/Helpers/ListQueryHelper.php
Normal file
34
app/Helpers/ListQueryHelper.php
Normal file
@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
if (! function_exists('keepUserListQuery')) {
|
||||
/**
|
||||
* 利用者一覧:検索条件保持用
|
||||
*
|
||||
* @param array $override 追加・上書きしたいパラメータ
|
||||
* @return array
|
||||
*/
|
||||
function keepUserListQuery(array $override = []): array
|
||||
{
|
||||
return array_merge(
|
||||
request()->only([
|
||||
'user_id',
|
||||
'user_categoryid',
|
||||
'user_tag_serial',
|
||||
'quit_flag',
|
||||
'user_category1',
|
||||
'user_category2',
|
||||
'user_category3',
|
||||
'user_phonetic',
|
||||
'phone',
|
||||
'email',
|
||||
'tag_qr_flag',
|
||||
'quit_from',
|
||||
'quit_to',
|
||||
'sort',
|
||||
'dir',
|
||||
'page',
|
||||
]),
|
||||
$override
|
||||
);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user