Skip to content
Snippets Groups Projects
Commit 8307cbea authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

When pulling from previous days to fulfill the "last few callers list", insert

Insert (using unshift) to the beginning of the list, rather than append (using
push) to the end of the list.

This fixes issue #761
parent 50b4ff0a
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
......@@ -62,7 +62,7 @@ function get(num, days_ago)
var more = json_lines.get(filename(days_ago), num);
if(typeof more !== 'object')
break;
result.push.apply(result, more);
result.unshift.apply(result, more);
if(num < 0)
num += more.length;
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment