[ic] sort option
Paul Jordan
interchange-users@interchange.redhat.com
Fri May 24 14:47:00 2002
Hi
I need to "force" sort a field.
[loop search="
st=db
sf=year
[if !cgi mv_arg]
se=2002
[else]
se=[cgi mv_arg]
[/else]
[/if]
em=yes
ml=30
tf=month,day
"]
[loop-change 1][condition][loop-field month][/condition]
The problem is that the data in the month field sort alphabetically. I can
add a control column to associate a number with the month but that doesn't
seem very clever.
Is there a way to create a argument to sort by ie:
tf=month arg="January,February,March......"
Any Ideas?
TIA
Paul
---------------------------
"Whenever you find that you are on the side of the majority, it is time to
reform."
--Mark Twain