Hi Thomas, use ERXS.sorted(aOpDay.ophours(), OpHours.MY_SPECIAL_ATTRIBUTE.ascs()) from Wonder or the method aOpDay.ophours(null, OpHours.MY_SPECIAL_ATTRIBUTE.ascs(), false) that is automatically created for you by the eogenerator templates.
jw Am 12.10.2012 um 14:23 schrieb Thomas Grass (01SoftwareSolutions) <[email protected]>: > Hi WO-Developers, > i've an EO "OpDay" with an relationship to many "OpHour"'s. > > In use i am able to call an array of OpHour's with the following command: > > aOpDay.ophours() > > This works fine, but i need to have the OpHour's sorted by special > attributes. Is there a "nice" way to do this, without creating a fetch or > order it on my own? > > Thank you, > Thomas _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
