Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #21181 from EverythingMe/1030820-24-results
Browse files Browse the repository at this point in the history
Bug 1030820 - [Collection app] Retrieve more web results [r=kgrandon]
  • Loading branch information
KevinGrandon committed Jun 30, 2014
2 parents 9007d38 + ffc2aea commit e3c0cbe
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions apps/collection/js/view_apps.js
Expand Up @@ -14,8 +14,14 @@
offlineMessage: document.getElementById('offline-message')
};

var options = collection.categoryId ? {categoryId: collection.categoryId}
: {query: collection.query};
var options = {
limit: 24
};
if (collection.categoryId) {
options.categoryId = collection.categoryId;
} else {
options.query = collection.query;
}

loading();

Expand Down

0 comments on commit e3c0cbe

Please sign in to comment.