From 6af6771721fa16e6b21f92f1256893004a469362 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Sat, 7 Jan 2017 23:16:40 +0100 Subject: [PATCH] minor change --- debug_client/index.php | 1 + structure.sql | 1 + 2 files changed, 2 insertions(+) diff --git a/debug_client/index.php b/debug_client/index.php index fe577f0e94..c2ca9edc62 100755 --- a/debug_client/index.php +++ b/debug_client/index.php @@ -138,6 +138,7 @@ switch ($action) { case 'folders': $folders = execRequest('GET', 'folders'); + usort($folders, function($a, $b) { return strnatcmp($a['title'], $b['title']); }); $pageParams['contentHtml'] = renderView('folders', array('folders' => $folders)); break; diff --git a/structure.sql b/structure.sql index 7291915815..ad3cc39b0f 100755 --- a/structure.sql +++ b/structure.sql @@ -6,6 +6,7 @@ CREATE TABLE `folders` ( `owner_id` binary(16) NULL default NULL, `is_encrypted` tinyint(1) NOT NULL default '0', `encryption_method` int(11) NOT NULL default '0', + `is_default` tinyint(1) NOT NULL default '0', PRIMARY KEY (`id`) ) CHARACTER SET=utf8;