Open leandrosantoss opened 2 months ago
Hi @treoden I believe it is the same problem that happens in GraphQL. The query is limited and I need to send the "limit" in the filter for it to work.
@treoden this is a Critical bug for me
Some change was made and it is limiting the system. Here it only lists 20, and in the database I have 114.
@treoden news about this? This is a critical bug
I can help by putting a bounty for solving this issue.
💰 A bounty of $30.00 has been created by omarsoufiane on BountyHub for this issue.
🔗 Claim this bounty by submitting a pull request that solves this issue!
Good luck, and happy coding! 💻
@leandrosantoss I understand the bug where only 20 child categories are being displayed in the product registration instead of all 75 categories from the database. This appears to be a pagination/limit issue in the GraphQL query. The solution would involve modifying the GraphQL resolver to either remove the default pagination limit or implement proper pagination for the category tree. I'd like to work on this issue. Could you please assign it to me?
This pull request does not solve this problem :(
@leandrosantoss check this out for the fix : https://github.com/evershopcommerce/evershop/pull/655 I have attached the video for the working solution. Tested it on my system, works well.
https://github.com/user-attachments/assets/1a853d2a-64af-40fe-aa45-19d07ae81a18
Couple of things :
Ping me on discord if you have any doubts.
@omarsoufiane @leandrosantoss can we conclude this?
@risjai the issue is about child categories, not main categories, so your pr doesn't fix it ( judging from the code because I didn't test it yet)
Can I test in my environment after generating a new release
This fixes the child categories problem as well. Now I feel, I should have made a video directly of child categories but anyways, will wait for Leonardo to test it himself. Leonardo, did you know the problem exists today with parent categories as well?
On Tue, 5 Nov 2024 at 11:50 PM, Leandro Pereira dos Santos < @.***> wrote:
Can I test in my environment after generating a new release
— Reply to this email directly, view it on GitHub https://github.com/evershopcommerce/evershop/issues/630#issuecomment-2457872480, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIFQEPZ2ZWQB3KJUEUQMA7LZ7ED7VAVCNFSM6AAAAABOMGA7N2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJXHA3TENBYGA . You are receiving this because you were mentioned.Message ID: @.***>
@leandrosantoss Did you test this out?
@omarsoufiane how do we conclude this?
@risjai the PR isn't merged, and I will test it once it's merged
Describe the bug The product registration does not list all child categories
Screenshots
This child category was not found in the category tree in product registration
Clicking to expand "Tabacaria"
In the Data Base the category "Tabacaria" has 75 rows
Background (please complete the following information):