Я пытаюсь получить более 200 элементов в моих запросах. Итак, я изменил предел результатов, которые запрос должен вернуть в соответствии с this documentation, но это не работает. Есть идеи?Rally 2.0 SDK - фильтрация запросов возвращает только 200 результатов
Пытаюсь следующее:
var tasksWithActualsQuery = Ext.create('Rally.data.WsapiDataStore',
{
model: 'Task',
limit: Infinity,
fetch: ['CreationDate', 'Actuals'],
filters:
[
{
property: 'CreationDate',
operator: '<',
value: 'LastMonth'
}
]
});
tasksWithActualsQuery.load({
callback: function(records, operation)
{
if(operation.wasSuccessful())
{
var tasksWithActualsCount = 0;
Ext.Array.each(records, function(record) {
if (record.get('Actuals') != null)
{
tasksWithActualsCount++;
}
});
var tasksCount = records.length;
alert(tasksCount);
}
}
});
Вы используете версию AppSDK2 До RC1? – nickm
Да. '' – adolfosrs