To which function does this API goes to?
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 26
- Joined: 16 Oct 2023, 15:05
To which function does this API goes to?
I want to increase the limit of values shown inside dropdown in admin->product->characteristics->attribute dropown. But not sure where to update the limit/slice.
I have a hard time understanding the codebase for this API requests from admin->product->characteristics->attribute dropown
http://npk.test/admin/default/jsonadm/attribute/type?locale=en&filter%5B%26%26%5D%5B0%5D%5B%7C%7C%5D%5B0%5D%5B%3D~%5D%5Battribute.type.code%5D=&filter%5B%26%26%5D%5B1%5D%5B%3E%5D%5Battribute.type.status%5D=0&sort=attribute.type.label
I thought it would be vendor\aimeos\ai-admin-jsonadm\src\Admin\JsonAdm\Attribute\Standard.php. But seems like it isn't. Any help would be appreciated. Also any other way to increase the limit?
I have a hard time understanding the codebase for this API requests from admin->product->characteristics->attribute dropown
http://npk.test/admin/default/jsonadm/attribute/type?locale=en&filter%5B%26%26%5D%5B0%5D%5B%7C%7C%5D%5B0%5D%5B%3D~%5D%5Battribute.type.code%5D=&filter%5B%26%26%5D%5B1%5D%5B%3E%5D%5Battribute.type.status%5D=0&sort=attribute.type.label
I thought it would be vendor\aimeos\ai-admin-jsonadm\src\Admin\JsonAdm\Attribute\Standard.php. But seems like it isn't. Any help would be appreciated. Also any other way to increase the limit?
Re: To which function does this API goes to?
This endpoint uses the JsonAdm Standard class because there's no specific implementation for "attribute/type":
https://github.com/aimeos/ai-admin-json ... d.php#L541
But the size of the returned result set should be passed in the JS code.
Which Aimeos version are you using? In the latest verison, the JsonAdm API isn't used any more and the GraphQL API is used instead.
https://github.com/aimeos/ai-admin-json ... d.php#L541
But the size of the returned result set should be passed in the JS code.
Which Aimeos version are you using? In the latest verison, the JsonAdm API isn't used any more and the GraphQL API is used instead.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star