fix on pagination
This commit is contained in:
@@ -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{}
|
||||||
|
|||||||
Reference in New Issue
Block a user