I have a table which includes a datetime column and I am wanting the data to be sorted in the admin area by this column... So in theory, simple... :-)
http://www.nibble.be/?p=493 details an event based way, but it would appear this is now obsolete with the latest version ?
I did attempt to implement a AbstractUIOMaticRepository class, but that got all a bit too much for the little I was wanting to achieve.
Are you able to please advise which of the above two ways is the right way now. If the second, all I really want to do is override the GetAll method...
Custom Sorting in Admin Area
Hi Tim
I have a table which includes a datetime column and I am wanting the data to be sorted in the admin area by this column... So in theory, simple... :-)
http://www.nibble.be/?p=493 details an event based way, but it would appear this is now obsolete with the latest version ?
I did attempt to implement a AbstractUIOMaticRepository class, but that got all a bit too much for the little I was wanting to achieve.
Are you able to please advise which of the above two ways is the right way now. If the second, all I really want to do is override the GetAll method...
Cheers, Nigel
Comment author was deleted
Hi Nigel, you can simply set the sort column and sort order on the uiomatic attribute, check the docs here :) http://uiomatic.readthedocs.io/en/stable/01.Usage/
Hey Tim
Mental note to self - read the documents properly... Skim reading misses important stuff.
Cheers man...
Nigel
is working on a reply...