Closed k0mar12 closed 9 months ago
Hey there, thanks for reporting this issue.
We'll need more info and/or code to debug this further. Can you please create a repository with the command below, commit the code that reproduces the issue as one separate commit on the main/master branch and share the repository here?
Please make sure that you have the latest version of the Laravel installer in order to run this command. Please also make sure you have both Git & the GitHub CLI tool properly set up.
laravel new bug-report --github="--public"
Do not amend and create a separate commit with your custom changes. After you've posted the repository, we'll try to reproduce the issue.
Thanks!
@crynobone GDay
php artisan migrate
php artisan db:seed
I have presented in /route/web.php
Hi there @k0mar12. This seems more like an issue for a support channel. You're doing quite some complex query building here and right now we don't have time to dig into this. Please try a support channel to see if anyone can help you out. If you're really sure there's a bug in Laravel we'd appreciate a PR with a failing test, thanks.
Laravel Version
v10.5.0
PHP Version
8.2.4
Database Driver & Version
MySQL 8.0.29
Description
I have next models:
Round
Side
Given In total round has 2 main sides, Dire and Radiant, but filled only one. Filled side it is side which has a completed list of users.
Case 1
Description
I try to fetch Round with filled sides - i have correct result.
Dump
SQL
Case 2
Description
I try to count filled sides in fetched Round - i have correct result.
Code
Dump
SQL
Case 3
Description
But, if i try to fetch Round with
withCount
of filled main sides, i will get count of all available sides.Code
Dump
SQL
Steps To Reproduce
To a greater extent, described in previous section. But if it needed, i can create demo.