0
Hi, i would be really grateful if you can add sort by date added for Product List. It would make my life so much easier, everything neater and i am sure many customers would appreciate this.
Thank you in advance.
0
Hello,
I am sorry as there is no such option at this moment. You will need to modify the aaSorting
property for datatables of themes/default/admin/views/products/index.php
by changing it from
"aaSorting": [[2, "asc"], [3, "asc"]],
to
"aaSorting": [[0, "desc"]],
Thank you
0
Thanks somewhat what i want but how do i make it from NEW > OLD. Its now OLD > NEW. Tried changing desc to asc but no changes.
0
Hello,
You are sorting the products by id and asc
& desc
should work. If you frequently need to change, then you can add Id column to datatables. The documentation has general guide.
Please be informed that we don't offer support for modifications and modified versions. You are allowed to do it at your own risk as per license.
Thank you
0
No im not frequently changing just want the default sorting to show newest to oldest product when i click "List Product" tab. Changing to the code given "aaSorting": [[0, "desc"]], is showing oldest to newest product added.
I tried changing desc to asc but still its listing oldest to newest product.
0
Not sure but guessing, it might be due to bSortable
You can remove it from first object of aoColumns
where mRender
is checkbox
in the same file.
0
Nice! Exactly what i needed. You da man!
We use Cookies
We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.