Monday 22 November 2010 3:24:02 am
Thanks for the reply Thiago. At the very begnning I have thought about using or or between in fetch to sort this out. But I will explain the problem $subTreeParameters['AttributeFilter'] = array( 'or', array( 'article/catogary', '=', 0 ),array( 'article/catogary', '=', 1 ),array( 'article/catogary', '=', 2 ),array( 'article/catogary', '=', 3 ), ); the above AttributeFilter in ezflow fetch class , fetches nodes with all articles which has its selection value 0 or 1 or 2 or 3 . Suppose the case in which if I most recently published 4 articles with selection attribute value 3, then the above atrbute filter will fetch 4 nodes with selection attribute value 3. So I do not get 4 nodes with unique selection attribute values. But I am looking to fetch 4 nodes each of them with unique selection attribute values. means 1st node feched will be of selection attribute value 0 2nd be of selection attribute value 1 3nd be of selection attribute value 2 4nd be of selection attribute value 3 So OR is not a proper solution. If I use between (0 to 3), it will not work. So between and or not work , for this criteria. No idea till .
|