Ignore:
Timestamp:
May 27, 2010, 9:40:17 PM (14 years ago)
Author:
Eric
Message:

[NBC_UserAdvManager]

  • Bug 1310 improved: Sorting work for multiple pages table.
  • Adding tips on table sorting in languages help files.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/NBC_UserAdvManager/trunk/include/functions.inc.php

    r6354 r6399  
    808808  }
    809809  $query.= '
    810 ORDER BY id ASC
     810ORDER BY ui.registration_date ASC
    811811;';
    812812
     
    873873    ON u.'.$conf['user_fields']['id'].' = lv.user_id
    874874WHERE (TO_DAYS(NOW()) - TO_DAYS(lv.lastvisit) >= "'.$conf_UAM[17].'")
    875 ORDER BY id ASC;';
     875ORDER BY lv.lastvisit ASC;';
    876876
    877877        $result = pwg_query($query);
     
    913913    ON u.'.$conf['user_fields']['id'].' = ug.user_id
    914914WHERE u.'.$conf['user_fields']['id'].' >= 3
    915 ORDER BY lastvisit DESC
     915ORDER BY ug.lastvisit DESC
    916916;';
    917917
Note: See TracChangeset for help on using the changeset viewer.