diff options
author | alexwl <alexey.a.kiryushin@gmail.com> | 2019-04-04 15:29:43 +0300 |
---|---|---|
committer | alexwl <alexey.a.kiryushin@gmail.com> | 2019-04-04 15:29:43 +0300 |
commit | 508ddaf2da3bab23c54ca10b2d20de91bf773690 (patch) | |
tree | f29509bb8719ca2edfd8f1bf8ae1fdcab3237015 /javascript/app/controllers | |
parent | 74f92973b71fa1c897d46cff6597ade883cb9b11 (diff) |
Fix identifier search URL after the package has changed
Diffstat (limited to 'javascript/app/controllers')
-rw-r--r-- | javascript/app/controllers/package.js | 2 |
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); |