
paulo at digitalcraftsmen
Mar 20, 2009, 8:56 AM
Post #8 of 8
(1659 views)
Permalink
|
Committed in rev 8515 regards, Paul Rolf Schaufelberger wrote: > Yep, just see my reply to david > > Am 20.03.2009 um 16:04 schrieb Paul Orrock: > >> >> >> Rolf Schaufelberger wrote: >> >>> I just don't understand, why the site_id parameter is not passed to >>> lookup ? >> >> Because you're right and it is a bug and it should be being passed ? >> >> Does this patch fix your issue ? >> >> =================================================================== >> --- comp/widgets/story_prof/autocomplete_categories.html (revision >> 8514) >> +++ comp/widgets/story_prof/autocomplete_categories.html (working >> copy) >> @@ -20,7 +20,10 @@ >> site_id => $site_id || $story->get_site_id, >> }); >> } else { >> - my $parent_cat = Bric::Biz::Category->lookup({ uri => >> $parent_cat_uri }); >> + ( my $parent_cat ) = Bric::Biz::Category->list({ >> + uri => $parent_cat_uri }); >> + site_id => $site_id || $story->get_site_id, >> + }); >> >> regards, >> >> Paul >> >> -- >> Paul Orrock Digital Craftsmen >> Lead SysAdmin www.digitalcraftsmen.net >> Exmouth House, 3 Pine Street, London, EC1R 0JH >> Tel: 020 7183 1410 Fax: 020 7099 5140 > > Mt freundlchen Grüßen > Rolf Schaufelberger > > plusW GmbH > Stuttgarter Str. 26 Tel. 07183 30 21 36 > 73635 Rudersberg Fax 07183 30 21 85 > > www.plusw.de > www.mypixler.com > www.calendrino.de > > > > -- Paul Orrock Digital Craftsmen Lead SysAdmin www.digitalcraftsmen.net Exmouth House, 3 Pine Street, London, EC1R 0JH Tel: 020 7183 1410 Fax: 020 7099 5140
|