[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] sort option
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
- Follow-Ups:
- [ic] sort option
- From: interchange-users@interchange.redhat.com (Stefan Hornburg Racke