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

Server: Fixes #8308: Sorting users by "total size" leads to a crash (#8680)

This commit is contained in:
Hubert 2023-08-18 05:36:41 -03:00 committed by GitHub
parent 0030681cb4
commit df1b0a96f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,7 +135,7 @@ router.get('admin/users', async (_path: SubPath, ctx: AppContext) => {
label: _('Email'),
},
{
name: 'account',
name: 'account_type',
label: _('Account'),
},
{
@ -143,15 +143,15 @@ router.get('admin/users', async (_path: SubPath, ctx: AppContext) => {
label: _('Max Item Size'),
},
{
name: 'total_size',
name: 'total_item_size',
label: _('Total Size'),
},
{
name: 'max_total_size',
name: 'max_total_item_size',
label: _('Max Total Size'),
},
{
name: 'can_share',
name: 'can_share_folder',
label: _('Can Share'),
},
],