mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2024-12-13 07:56:23 +00:00
Allow sorting by original names
This commit is contained in:
parent
63330bdc3f
commit
08db3e55a8
@ -848,7 +848,8 @@ self.list = async (req, res) => {
|
||||
// Columns mapping
|
||||
maps: {
|
||||
date: 'timestamp',
|
||||
expiry: 'expirydate'
|
||||
expiry: 'expirydate',
|
||||
originalname: 'original'
|
||||
},
|
||||
// Columns with which to use SQLite's NULLS LAST option
|
||||
nullsLast: [
|
||||
@ -1080,6 +1081,7 @@ self.list = async (req, res) => {
|
||||
'expirydate',
|
||||
'id',
|
||||
'name',
|
||||
'original',
|
||||
'size',
|
||||
'timestamp'
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user