Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Need arbitrary control of sort order

Quote Reply
Need arbitrary control of sort order
I need to be able to control the sort order of category listings. So I added a field to the category database called SortLetter, type TEXT, length 1, default M. I then went to the setup options and changed the category sort order to SortLetter, Title.

I hoped this would let me move a category to the top of the sort list by giving it a SortLetter of A, or to the bottom by assigning Z.

But it doesn't work. When I do a full build, the program crashes out with "A fatal error has occured:Can't call method fetchall_hashref on an undefined value at Links::Build::build_category line 87.".

I'm obviously doing something wrong, but I can't work out what. Help!
Quote Reply
Re: [RobSchifreen] Need arbitrary control of sort order In reply to
Now sorted (excuse the pun!). No replies needed.

R.