Forums / Developer / fetch sort_by conditional / Comment39049
Paul Forsyth
Saturday 01 November 2003 5:30:22 am
The problem is likely with your use of the class attribute id. You have:
attribute_filter( 19, '>', 2002)
where it is seems 19 is the class id. but if you look at the doco again this parameter needs to the class attribute id.
What you need to do is look at your class again in the admin and identify the id number for your 'year' attribute. Put this number in your fetch and see if this works.
Btw, do you have debug on? It may be reporting this error.
paul