Thursday 03 August 2006 2:37:48 am
Hi, As I mention previously we had a situation where we had an extensive ezSelection MultiSelect attribute that had to get filtered and by using attribute_filter it wasn't solving it. I later implemented:
{def $search=fetch( 'content', 'search',
hash( 'text', $strCat,
'class_id', 25,
'class_attribute_id', 226,
'offset',$view_parameters.offset,
'limit', $numberOfObjects,
'attribute_filter', array( array( 'article_issue/top_story', '<>', 1 ) ),
'sort_by', array( 'modified', false() ) ))} This search helps me filter the MultiSelect and get all the Articles that match the Category. Now do to this clients new request(Upgrades to the site) he wants a CheckBox added to thses Articles that also will have to be filtered in the above fetch. I've been trying to add the attribute_filter to my previous fetch and obviously it doesn't work as it's not supported by this type of search. see: http://ez.no/doc/ez_publish/technical_manual/3_7/reference/modules/content/fetch_functions/search Has anyone done a MultiSelection search/filter AND filtered other attributes at the same time. Is this even possible? Fabricio
http://www.solobromasychistes.com <<Joomla Site :P
http://www.recipesforhealthyfood.com/ <<Drupal Site :P
http://www.ezforge.com/ <<future ezCommunity, Articles, forums and more...
|