All right, just a standard line in a global:
my $cats = $relation->select ( { CatRoot => 4}, GT::SQL::Condition->new('Filter_Type','LIKE','isMain'), ['Category.Full_Name', 'Category.Name'])->fetchall_hashref;
But is it possible to filter two CatRoot's like: CatRoot => 4, 2
I have tried several combinations of this but cant get this to work.
~ ERASER
Free JavaScripts @ Insight Eye
my $cats = $relation->select ( { CatRoot => 4}, GT::SQL::Condition->new('Filter_Type','LIKE','isMain'), ['Category.Full_Name', 'Category.Name'])->fetchall_hashref;
But is it possible to filter two CatRoot's like: CatRoot => 4, 2
I have tried several combinations of this but cant get this to work.
~ ERASER
Free JavaScripts @ Insight Eye