I can now see what's going on with my 1/8mi guys. The conditional check in timeslips.php is only looking for values greater than 0 to produce the list....and the list currently sorts by 1/4mi ET by default.
else if ($_REQUEST['do'] == 'quarter')
{
$cond.=" WHERE userfield.field55>0";
$condition.=" AND userfield.field55>0";
$orderby="userfield.field55";
$direction=ASC;
$bracket3="<b>[</b>";
$bracket4="<b>]</b>";
I could change the list to default the sort by 1/8mi but I would rather default to 'username'. Unfortunately the 'username' sort also requires field55 to be greater than 0. Field55 is 1/4mi ET.
else if ($_REQUEST['do'] == 'username')
{
$cond.=" WHERE userfield.field55>0";
$condition.=" AND userfield.field55>0";
$orderby="user.username";
$direction=ASC;
$bracket11="<b>[</b>";
$bracket12="<b>]</b>";
|