aboutsummaryrefslogtreecommitdiff
path: root/javascript/app
diff options
context:
space:
mode:
authoralexwl <alexey.a.kiryushin@gmail.com>2019-04-04 15:29:43 +0300
committeralexwl <alexey.a.kiryushin@gmail.com>2019-04-04 15:29:43 +0300
commit508ddaf2da3bab23c54ca10b2d20de91bf773690 (patch)
treef29509bb8719ca2edfd8f1bf8ae1fdcab3237015 /javascript/app
parent74f92973b71fa1c897d46cff6597ade883cb9b11 (diff)
Fix identifier search URL after the package has changed
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);