-
Notifications
You must be signed in to change notification settings - Fork 896
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Test issue #5685
Comments
asdf |
1 similar comment
asdf |
This issue has been reported and resolved in the past. The problem was that when opening and closing the date filter, sometimes a datepicker window would appear in the top corner of the screen instead of closing. The bug was reproduced both logically and on the demo site. The fix for this issue has been merged into the Backpack/Pro package. You can get the updated version by running a You can find more details about this issue and its resolution on the Github issue page. |
This issue has been reported and resolved in the past. The problem was that when opening and closing the date filter, sometimes a datepicker window would appear in the top corner of the screen instead of closing. The bug was reproduced both logically and on the demo site. The fix for this issue has been merged into the Backpack/Pro version. You can get the updated version by running a You can find more details about this issue and its resolution on the Github issue page. |
This issue you're describing appears to be a known bug in Backpack that has been reported and addressed. Based on the information provided in the knowledge sources, here's what we know:
It's worth noting that date picker issues have been reported and fixed in the past for Backpack. For instance, there was a fix for date picker keys in version 2.0.4 of Backpack Pro PRO for unlimited projects Changelog. If you're still experiencing this issue after updating to the latest version, it would be advisable to report it on the Backpack GitHub repository, as it might be a new or persisting bug. Relevant sources: Github Issue (closed): [Bug] Frontend issue in the filter |
Currently, Backpack does not have a built-in feature to directly sum column values and display them in the header or footer of a table in the list operation. However, there are a few workarounds and community-contributed solutions that you can consider:
For a more detailed implementation, you might want to check out the code snippet shared by a community member, which you can find in this gist: Backpack Column Sum Gist. Remember that these are community-contributed solutions and may require some customization to fit your specific needs. The Backpack team has discussed this feature request, but it's not currently part of the core functionality Community Forum Discussion. Relevant sources: Sum specific table column |
Currently, Backpack does not have a built-in feature to directly sum column values and display them in the header or footer of a table in the list operation. However, there are a few workarounds and community-contributed solutions that you can consider:
Here's an example of how you might implement the custom method approach: protected function recordsTotal() {
$count = $this->crud->model->where(`your_condition_here`)->count();
return $count;
} Then in your list.blade.php file: @if(isset($entries->total))
Total - {{$entries->total}}
@endif Keep in mind that these are workarounds and not official features. The Backpack team has discussed this feature request, and it might be considered for future implementations if there's enough demand from the community Github Issue. Relevant sources: Sum specific table column |
Bug report
What I did
??
What I expected to happen
??
What happened
??
What I've already tried to fix it
??
Is it a bug in the latest version of Backpack?
After I run
composer update backpack/crud
the bug... is it still there?Backpack, Laravel, PHP, DB version
When I run
php artisan backpack:version
the output is:The text was updated successfully, but these errors were encountered: