This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Developer » Admin2 sorting by date attribute
expandshrink

Admin2 sorting by date attribute

Admin2 sorting by date attribute

Wednesday 12 December 2012 6:12:47 pm - 1 reply

Hello there,

Using the admin2 design on the backend, I am trying to sort nodes with a "date" attribute, which is the name of the class and also the only attribute. The override sorting is correctly done in children.tpl, but I don't really know how to use it in ezajaxsubitems_datatable.js (or not?).

Thanks,

Jean-Luc.

Thursday 13 December 2012 12:48:33 am

OK, I finally found out some trick to sort the dates object by date attribute: overriding ezdatetype kernel class, and adding a timestamp value to the title() function, which returns the name.

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from