fix on pagination

This commit is contained in:
Chris Lu 2018-05-14 20:27:48 -07:00
parent 58954bf46f
commit c7a71d35b0

View file

@ -44,6 +44,10 @@ func (fs *FilerServer) listDirectoryHandler(w http.ResponseWriter, r *http.Reque
path = "" path = ""
} }
if len(entries) > 0 {
lastFileName = entries[len(entries)-1].Name()
}
args := struct { args := struct {
Path string Path string
Entries interface{} Entries interface{}