We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Hello,
filters after being set are not persistent after refreshing page.
Before refreshing:
after refresh:
It will be great if package restore values to filter after refreshing panel.
Code used in filter is like in example:
Filter::make('categories') ->form([ SelectTree::make('categories') ->relationship('categories', 'name', 'parent_id') ->enableBranchNode(), ]) ->query(function (Builder $query, array $data) { return $query->when($data['categories'], function ($query, $categories) { return $query->whereHas('categories', fn($query) => $query->whereIn('gbn_category_product.category_id', $categories)); }); }) ->indicateUsing(function (array $data): ?string { if (! $data['categories']) { return null; } return __('Categories') . ': ' . implode(', ', Category::whereIn('id', $data['categories'])->get()->pluck('name')->toArray()); }),
3.1.45
0
11.38.1
macOS
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What happened?
Hello,
filters after being set are not persistent after refreshing page.
Before refreshing:
after refresh:
It will be great if package restore values to filter after refreshing panel.
Code used in filter is like in example:
How to reproduce the bug
Package Version
3.1.45
PHP Version
0
Laravel Version
11.38.1
Which operating systems does with happen with?
macOS
Notes
No response
The text was updated successfully, but these errors were encountered: