Re: sort values in a drop down SOLVED

2007-04-11 Thread Benedict Verheyen
Benedict Verheyen schreef: > class ScoreAddManipulator(Score.AddManipulator): > default = {} > > def __init__(self): > # Construct the fields and set the values in default > Score.AddManipulator.__init__(self) > ScoreAddManipulator.default["patient"]=[(patient.id

sort values in a drop down

2007-04-10 Thread Benedict Verheyen
Hi, i have an application that uses oldforms. A model has a foreignkey to a Patients model. Now the users want the patients to be sorted by roomnumber. The roomnumber is specified in another model called room. I have a custome Manipulator so i thought i could change the fields that are shown in