1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

minor change

This commit is contained in:
Laurent Cozic 2017-01-07 23:16:40 +01:00
parent fb63787d10
commit 6af6771721
2 changed files with 2 additions and 0 deletions

View File

@ -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;

View File

@ -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;