Not 100% sure what you want to do, but as far as I see you have to look a couple of lines further.
CatLinks and Category is included as you said but as well:
$rel->select_options("GROUP BY LinkID") if $CFG->{build_detail_format} eq '%ID%';
$rel->select_options("ORDER BY LinkID");
The loop you are looking at is not the loop doing the queries:
Is probably your problem. I work with dynamic pages, but at first sight I would say detailed pages are built for every Category which means you can not influence their location as easy as you might wish.
Regards
n||i||k||o
CatLinks and Category is included as you said but as well:
Code:
$rel->select_options("GROUP BY LinkID") if $CFG->{build_detail_format} eq '%ID%';
$rel->select_options("ORDER BY LinkID");
The loop you are looking at is not the loop doing the queries:
Code:
my $sth = $rel->select('Links.*', @cat_cols, 'CategoryID' => $cond);Is probably your problem. I work with dynamic pages, but at first sight I would say detailed pages are built for every Category which means you can not influence their location as easy as you might wish.
Regards
n||i||k||o