diff --git a/src/managers/run-strategies/reuse-across-sessions.js b/src/managers/run-strategies/reuse-across-sessions.js index 93ab2d89..dbda8c31 100644 --- a/src/managers/run-strategies/reuse-across-sessions.js +++ b/src/managers/run-strategies/reuse-across-sessions.js @@ -47,8 +47,8 @@ var Strategy = classFrom(IdentityStrategy, { var filter = injectFiltersFromSession(this.options.filter, userSession); var me = this; return runService.query(filter, { - // startrecord: 0, //TODO: Uncomment when EPICENTER-2569 is fixed - // endrecord: 0, + startrecord: 0, + endrecord: 0, sort: 'created', direction: 'desc' }).then(function (runs) { diff --git a/src/managers/run-strategies/reuse-last-initialized.js b/src/managers/run-strategies/reuse-last-initialized.js index a35454a3..11087acb 100644 --- a/src/managers/run-strategies/reuse-last-initialized.js +++ b/src/managers/run-strategies/reuse-last-initialized.js @@ -75,8 +75,8 @@ module.exports = classFrom(Base, { var filter = $.extend(true, { trashed: false }, sessionFilter, { model: runopts.model }); var me = this; return runService.query(filter, { - // startrecord: 0, //TODO: Uncomment when EPICENTER-2569 is fixed - // endrecord: 0, + startrecord: 0, + endrecord: 0, sort: 'created', direction: 'desc' }).then(function (runs) { diff --git a/src/managers/scenario-strategies/reuse-last-unsaved.js b/src/managers/scenario-strategies/reuse-last-unsaved.js index 407a426a..5d2844ad 100644 --- a/src/managers/scenario-strategies/reuse-last-unsaved.js +++ b/src/managers/scenario-strategies/reuse-last-unsaved.js @@ -43,13 +43,13 @@ module.exports = classFrom(Base, { var runopts = runService.getCurrentConfig(); var filter = injectFiltersFromSession({ saved: false, - trashed: false, //TODO: change to '!=true' once EPICENTER-2500 is fixed, + trashed: false, model: runopts.model, }, userSession); var me = this; var outputModifiers = { - // startrecord: 0, //TODO: Uncomment when EPICENTER-2569 is fixed - // endrecord: 0, + startrecord: 0, + endrecord: 0, sort: 'created', direction: 'desc' };