aboutsummaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
Diffstat (limited to 'cgi')
-rw-r--r--cgi/api.py2
-rw-r--r--cgi/templates/revision.html2
-rwxr-xr-xcgi/weabot.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/cgi/api.py b/cgi/api.py
index 86ada3a..ce1e467 100644
--- a/cgi/api.py
+++ b/cgi/api.py
@@ -42,7 +42,7 @@ def api_process(self, path_split):
values = {'state': 'success'}
if method == 'boards':
- boards = FetchAll('SELECT dir, name, board_type, allow_images, allow_image_replies, maxsize FROM `boards` WHERE `secret`=0 ORDER BY `name` ASC')
+ boards = FetchAll('SELECT dir, name, board_type, allow_images, allow_image_replies, maxsize FROM `boards` WHERE `secret`=0 ORDER BY `sort` ASC')
values['boards'] = boards
for board in values['boards']:
board['board_type'] = int(board['board_type'])
diff --git a/cgi/templates/revision.html b/cgi/templates/revision.html
index 1e9b46b..6201b5f 100644
--- a/cgi/templates/revision.html
+++ b/cgi/templates/revision.html
@@ -1 +1 @@
-0.8.7
+0.8.8
diff --git a/cgi/weabot.py b/cgi/weabot.py
index 736ed85..237a944 100755
--- a/cgi/weabot.py
+++ b/cgi/weabot.py
@@ -22,7 +22,7 @@ from formatting import *
from post import *
from img import *
-__version__ = "0.8.7"
+__version__ = "0.8.8"
# Set to True to disable weabot's exception routing and enable profiling
_DEBUG = False