Stores the sorting only if there is an user
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
This commit is contained in:
parent
f18fc851c0
commit
887737f706
1 changed files with 1 additions and 1 deletions
|
@ -1738,7 +1738,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
if (persist) {
|
||||
if (persist && OC.getCurrentUser().uid) {
|
||||
$.post(OC.generateUrl('/apps/files/api/v1/sorting'), {
|
||||
mode: sort,
|
||||
direction: direction
|
||||
|
|
Loading…
Reference in a new issue