Query about admin
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: 1
- Joined: 02 Oct 2016, 18:25
Query about admin
Hi,
Where abouts are the queries to form the dashboard for admin. I.e if I wanted to make one for profits.
Where abouts are the queries to form the dashboard for admin. I.e if I wanted to make one for profits.
Re: Query about admin
The dashboard uses the Aimeos JSON API to retrieve the data:
https://aimeos.org/docs/Developers/Admi ... arch_items
To group the filtered results (like a GROUP BY), use the additional parameter
e.g.
The "columns" you can search for and group by are the same as listed in the managers. You can use the "aggregate=..." parameter for every manager that has an aggregate() method, e.g. https://github.com/aimeos/aimeos-core/b ... andard.php
https://aimeos.org/docs/Developers/Admi ... arch_items
To group the filtered results (like a GROUP BY), use the additional parameter
Code: Select all
aggregate=...
Code: Select all
aggregate=order.cdate
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