You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is a fix to be able to use route parameters :
# This patch file was generated by NetBeans IDE
# It uses platform neutral UTF-8 encoding and \n newlines.
--- a/Helpers/grid.php
+++ b/Helpers/grid.php
@@ -14,12 +14,12 @@
function add_query_param()
{
if (func_num_args() === 0) {
- return array_merge(request()->query(), []);
+ return array_merge(request()->query(), request()->route()->parameters());
}
$values = collect(func_get_args())->collapse()->toArray();
- return array_merge(request()->query(), $values);
\ No newline at end of file
+ return array_merge(request()->query(), request()->route()->parameters(), $values);
\ No newline at end of file
}
}
The text was updated successfully, but these errors were encountered:
Here is a fix to be able to use route parameters :
The text was updated successfully, but these errors were encountered: