Browse Source

Stores the sorting only if there is an user

Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
pull/10738/head
Michael Weimann 7 years ago
parent
commit
887737f706
No known key found for this signature in database GPG Key ID: 34F0524D4DA694A1
  1. 2
      apps/files/js/filelist.js

2
apps/files/js/filelist.js

@ -1738,7 +1738,7 @@
}
}
if (persist) {
if (persist && OC.getCurrentUser().uid) {
$.post(OC.generateUrl('/apps/files/api/v1/sorting'), {
mode: sort,
direction: direction

Loading…
Cancel
Save