Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

FatherID and CategoryID together?

Quote Reply
FatherID and CategoryID together?
Ok so this global returns some links with the 2 specified father id's. How do I also specify an additional category not within the FatherID.

I tried something like:

Code:
$sth = $search_db->select ( { FatherID => [275, 44] }, {CategoryID => 163}, GT::SQL::Condition->new('isValidated', '=','Yes'));

but unfortunately dint return anything. Without the {CategoryID => 163} bit, it works fine.

Do I have the syntax incorrect?

~ ERASER


Free JavaScripts @ Insight Eye
Subject Author Views Date
Thread FatherID and CategoryID together? Eraser 3140 Feb 10, 2009, 10:02 AM
Post Re: [Eraser] FatherID and CategoryID together?
Andy 3055 Feb 10, 2009, 10:27 AM
Post Re: [Eraser] FatherID and CategoryID together?
brewt 3042 Feb 10, 2009, 10:36 AM