View previous topic :: View next topic |
Author |
Message |
maimiti
Joined: 16 Sep 2003 Posts: 20
|
Posted: Fri Dec 10, 2004 11:27 pm Post subject: Archives in reversed order |
|
|
I want my archives to ascend from the first month and the first day to the end... I mean, if I started writing in January I want the archives to start there too. But whatever I do it turnes out in descending order.
What part of the code have I missed to change? |
|
Back to top |
|
 |
Cyberian75
Joined: 26 Sep 2002 Posts: 1278 Location: Oregon
|
Posted: Sat Dec 11, 2004 1:16 am Post subject: |
|
|
Change "DESC" to "ASC" in SQL queries. _________________ Michael P.
 |
|
Back to top |
|
 |
maimiti
Joined: 16 Sep 2003 Posts: 20
|
Posted: Sat Dec 11, 2004 9:18 am Post subject: |
|
|
I did that in b2archives.php and b2archivestest.php, but it didn't work.
I found a querystring in b2.blog.header.php and changed that one too and then it did work... but a bit too well. Now the dropdown menues in b2archivestest.php (the hack) don't work. If I chose descending from the menu it will still be in ascending order.
So, I changed the b2archives.php and b2archivestest.php back to the original setting but it still only shows ascending order whatever the visitor choses.
I guess it's not possible to get it both ways, huh? |
|
Back to top |
|
 |
|