フリーワード検索時のエラー
Closed this issue · 1 comments
Describe the bug / バグの説明
A clear and concise description of what the bug is. / バグの内容のかんたんな説明を記載してください。
フリーワード検索時にページが2ページ目以上になってなっている場合エラーがでる。
フリーワード検索時にビュー維持していることが原因かと思いましたがどちらでも発生しました。
/admin/data/test?page=2&query=武田 がURLになってますがpage=2でURLが固定されているのが原因?
page=2部分を削除して/admin/data/test?query=武田 のみにすると表示されます。
【追記】
パラメーターでビューが指定されている場合は発生しないみたいです
Exmentデモサイトでの例
【発生する】
https://exment.net/modelcase/task/data/project?page=2&query=240711
【発生しない】
https://exment.net/modelcase/task/data/project?view=70385cb7ea78d8434855?page=2&query=240711
メニューのテーブルデータ選択時に何かしらビュー指定していれば解決するためこのバグ?の修正は不要の可能性がありそうです。
To Reproduce / 再現手順
Please describe the reproduction procedure in as much detail as possible. / 再現手順を、可能な限り詳細に記載してください。
Version / 発生バージョン
Please describe version. / ご利用のバージョンを記載してください。
v6.1.3 & v6.1.1
VPS Ubuntu Nginx 環境 及び レンタルサーバー
Error log / エラーログ
If possible, paste error log. Log's path is "storage/logs/laravel.log". / 可能であれば、ログを貼り付けてください。ログのパスは"storage/logs/laravel.log"です。
Encore\Admin\Middleware\Pjax::respond(): Argument #1 ($response) must be of type Illuminate\Http\Response, Illuminate\Http\RedirectResponse given, called in /laravel/exment/vendor/exceedone/laravel-admin/src/Grid/Model.php on line 515
Screenshots / スクリーンショット
If possible, paste the screenshot. / 可能であれば、スクリーンショットを貼り付けてください。
Additional context / その他
Add any other context about the problem here. / その他に記載すべき内容がありましたら、ご記載ください。
一度、閉じます。