diff options
-rw-r--r-- | cgi/api.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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']) |