aboutsummaryrefslogtreecommitdiff
path: root/javascript/app
diff options
context:
space:
mode:
Diffstat (limited to 'javascript/app')
-rw-r--r--javascript/app/controllers/package.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript/app/controllers/package.js b/javascript/app/controllers/package.js
index a9f5559..666cacf 100644
--- a/javascript/app/controllers/package.js
+++ b/javascript/app/controllers/package.js
@@ -8,7 +8,7 @@ export default Ember.Controller.extend({
loadItemsFunction : null,
query : null,
searchMode : "currentPackage",
- createSearchUrlFunction : Ember.computed("searchMode",function() {
+ createSearchUrlFunction : Ember.computed("searchMode","model",function() {
const packageId = this.get('model.id');
if(this.get('searchMode') === "currentPackage") {
return (query) => urls.identifierSearchUrl(packageId,query);