Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [MJ_] modify_select sort order

Quote Reply
Re: [MJ_] modify_select sort order In reply to
Hi,

It looks like Alex released and update to the code, so that it sorted by Title now, but there still seems to be no option to change a setting, or pass in so=xxx and sb=xxx. You still need to edit the code in /Links/User/Modify.pm to do what you want:

Code:
$link_db->select_options("ORDER BY Title ASC", "LIMIT $limit OFFSET $offset");

..change that to:

Code:
$link_db->select_options("ORDER BY Your_Field ASC", "LIMIT $limit OFFSET $offset");

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread modify_select sort order Evoir 7147 Mar 17, 2003, 12:52 PM
Thread Re: [Evoir] modify_select sort order
Evoir 6951 Mar 17, 2003, 6:41 PM
Thread Re: [Evoir] modify_select sort order
MJ_ 6725 Oct 4, 2011, 1:29 PM
Thread Re: [MJ_] modify_select sort order
Andy 6709 Oct 5, 2011, 1:02 AM
Thread Re: [Andy] modify_select sort order
MJ_ 6672 Oct 11, 2011, 7:13 AM
Thread Re: [MJ_] modify_select sort order
Andy 6669 Oct 11, 2011, 11:37 PM
Thread Re: [Andy] modify_select sort order
MJ_ 6646 Oct 17, 2011, 4:11 AM
Thread Re: [MJ_] modify_select sort order
Andy 6645 Oct 17, 2011, 4:14 AM
Post Post deleted by MJ_
MJ_ 6599 Oct 17, 2011, 4:33 AM
Thread Re: [Andy] modify_select sort order
MJ_ 6616 Oct 17, 2011, 4:35 AM
Post Re: [MJ_] modify_select sort order
Andy 6611 Oct 17, 2011, 7:49 AM