Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Home page category sort order

Quote Reply
Home page category sort order
It seems the build_home routine is ignoring the category sort parameter.

I had to add:

my $sort_order = 'ORDER BY ' . $CFG->{'build_category_sort'};
$cat_db->select_options($sort_order);

To the Build.pm sub build_home (right above the select statement) to make it sort the categories in a non-random order (the order I added them).

I did not update my configuration files automatically (did it by a compare) so I don't know if that makes a difference... but shouldn't the options be set in that routine, regardless?

PUGDOGŪ
PUGDOGŪ Enterprises, Inc.
FAQ: http://pugdog.com/FAQ


Quote Reply
Re: Home page category sort order In reply to
Hi,

Yes, that is a bug. =)

Cheers,

Alex

--
Gossamer Threads Inc.