admin customer table: define default sorting / order
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!
admin customer table: define default sorting / order
Hi,
I added some additional fields to my default customer table, like:
It works fine, but how can I define a default sorting?
e.g. all customers should be ordered / sorted by customer.ctime ASC
I added some additional fields to my default customer table, like:
Code: Select all
'customer' => [
'fields' => array( 'customer.status', 'customer.code', 'customer.lastname', 'customer.company', 'customer.city', 'customer.ctime' ),
],
e.g. all customers should be ordered / sorted by customer.ctime ASC
Re: admin customer table: define default sorting / order
Changing the default sorting without user interaction is only possible if you overwrite the JQAdm customer class and add a sorting before initCriteria() here: https://github.com/aimeos/ai-admin-jqad ... d.php#L248
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