paging done, needs some additional refactoring
This commit is contained in:
@@ -4,11 +4,13 @@ var ItemConstants = require('../constants/itemConstants');
|
||||
// Define action methods
|
||||
var ItemActions = {
|
||||
|
||||
loadByCategory: function(categoryId, query) {
|
||||
loadByCategory: function(categoryId, offset, limit, query) {
|
||||
AppDispatcher.handleAction({
|
||||
actionType: ItemConstants.LOAD_BY_CATEGORY,
|
||||
categoryId : categoryId,
|
||||
query : query
|
||||
query : query,
|
||||
offset : offset,
|
||||
limit: limit
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user