increased limit
This commit is contained in:
parent
8f297953e6
commit
ac60647afd
@ -10,7 +10,7 @@ Meteor.subscribe('schedule');
|
|||||||
Template.client.helpers({
|
Template.client.helpers({
|
||||||
|
|
||||||
sched: function() {
|
sched: function() {
|
||||||
beforeslice = schedule.find({}, {sort: {timestamp: 1}, limit: 5}).fetch();
|
beforeslice = schedule.find({}, {sort: {timestamp: 1}, limit: 9}).fetch();
|
||||||
return beforeslice.slice(1, beforeslice.length);
|
return beforeslice.slice(1, beforeslice.length);
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -162,6 +162,6 @@ function getScale(index, start) {
|
|||||||
|
|
||||||
Template.phone.helpers({
|
Template.phone.helpers({
|
||||||
phone: function() {
|
phone: function() {
|
||||||
return schedule.find({}, {sort: {timestamp: 1}, limit: 1}).fetch();
|
return schedule.find({}, {sort: {timestamp: 1}, limit: 10}).fetch();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user