From 508ddaf2da3bab23c54ca10b2d20de91bf773690 Mon Sep 17 00:00:00 2001 From: alexwl Date: Thu, 4 Apr 2019 15:29:43 +0300 Subject: Fix identifier search URL after the package has changed --- javascript/app/controllers/package.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'javascript/app') 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); -- cgit v1.2.3