| View previous topic :: View next topic |
| Author |
Message |
Justin AutoIndex Developer

Joined: 14 Nov 2003 Posts: 785
|
Posted: Sat Jan 03, 2004 8:39 pm Post subject: How to change the default sort order |
|
|
Here's where the default settings for sorting are stored:
(They're somewhere around line 781.)
| Code: | else if (!isset($_SESSION['sort']))
{
//'a' is ascending, 'd' is descending
$_SESSION['sort'] = 'a';
} |
| Code: | else if (!isset($_SESSION['sortMode']))
{
/*
* 'f' is filename
* 't' is filetype
* 'h' is downloads (hits)
* 's' is size
* 'm' is date (modified)
* 'd' is description
*/
$_SESSION['sortMode'] = 'f';
} |
|
|
| Back to top |
|
 |
pcs800 New Member

Joined: 13 Jan 2009 Posts: 3
|
Posted: Tue Aug 18, 2009 8:22 am Post subject: huh? |
|
|
In what page? I have done a search for text within the files and find nothing with the words ascending or descending in the page.
I am trying to change the sort order. |
|
| Back to top |
|
 |
|