summaryrefslogtreecommitdiffstats
path: root/js/service/ItemResource.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/service/ItemResource.js')
-rw-r--r--js/service/ItemResource.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/js/service/ItemResource.js b/js/service/ItemResource.js
index ec1221e6c..0f15a21c5 100644
--- a/js/service/ItemResource.js
+++ b/js/service/ItemResource.js
@@ -176,7 +176,7 @@ app.factory('ItemResource', function (Resource, $http, BASE_URL,
ItemResource.prototype.autoPage = function (type, id, oldestFirst,
- showAll) {
+ showAll, search) {
var offset;
if (oldestFirst) {
@@ -194,7 +194,8 @@ app.factory('ItemResource', function (Resource, $http, BASE_URL,
offset: offset,
limit: this.batchSize,
oldestFirst: oldestFirst,
- showAll: showAll
+ showAll: showAll,
+ search: search
}
});
};