1. Liam Staskawicz
  2. fantomongo

Commits

Liam Staskawicz  committed e2e4bda

* sort listed files

  • Participants
  • Parent commits aabf62d
  • Branches default

Comments (0)

Files changed (1)

File fan/gridfs/GridFS.fan

View file
   
   Cursor fileList(Str:Obj? query := [:])
   {
-    return filesColl.find(query)  // todo - .sort(["filename": 1]);
+    return filesColl.find(query).sort(["filename":1]);
   }
   
   internal Collection filesColl()