Browse Source

bugfixes

pull/2/head
asiekierka 6 years ago
parent
commit
decf6cb2fa
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      app.js

+ 1
- 0
app.js View File

@@ -316,6 +316,7 @@ function getImageTable(req,images1,options,callback,maxVal) {
316 316
 }
317 317
 
318 318
 function listImages(req,res,images2,options,imageAmount,defConfig) {
319
+  var start = parseInt(options["start"]) || 0;
319 320
   var mode = options["mode"] || "";
320 321
   var noHeader = false;
321 322
   var conf = _.defaults({images: images2, position: start, maxpos: imageAmount, req: req}, defConfig || {"isSearch": false});

Loading…
Cancel
Save