Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [Andy] How to do command line search by category name instead of catid?

Quote Reply
Re: [Andy] How to do command line search by category name instead of catid? In reply to
Hi,

I grabed the custom global ==> categoryname

----------------------------------
sub {
my $catid = $DB->table('Category')->select( ['ID'], { Full_Name => $IN->param('categoryname') } )->fetchrow || 0;
$IN->param( 'catid' => $catid );
}
----------------------------------

But this was the result:

ARRAY(0x97032b8)


What am I doing wrong ? Thanks in advance.

JoseML
Subject Author Views Date
Thread How to do command line search by category name instead of catid? socrates 3359 Dec 12, 2005, 11:30 PM
Thread Re: [socrates] How to do command line search by category name instead of catid?
Andy 3275 Dec 12, 2005, 11:55 PM
Thread Re: [Andy] How to do command line search by category name instead of catid?
socrates 3227 Dec 14, 2005, 12:27 AM
Thread Re: [socrates] How to do command line search by category name instead of catid?
Andy 3235 Dec 14, 2005, 1:15 AM
Thread Re: [Andy] How to do command line search by category name instead of catid?
socrates 3205 Dec 14, 2005, 3:14 PM
Post Re: [socrates] How to do command line search by category name instead of catid?
socrates 3199 Dec 23, 2005, 12:24 AM
Thread Re: [Andy] How to do command line search by category name instead of catid?
JoseML 3127 Feb 23, 2006, 5:18 AM
Thread Re: [JoseML] How to do command line search by category name instead of catid?
Andy 3137 Feb 23, 2006, 5:37 AM
Post Re: [Andy] How to do command line search by category name instead of catid?
JoseML 3121 Feb 24, 2006, 5:24 AM