{"action":"closed","issue":{"url":"https://api.github.com/repos/numtel/meteor-mysql/issues/50","labels_url":"https://api.github.com/repos/numtel/meteor-mysql/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/numtel/meteor-mysql/issues/50/comments","events_url":"https://api.github.com/repos/numtel/meteor-mysql/issues/50/events","html_url":"https://github.com/numtel/meteor-mysql/issues/50","id":116765689,"number":50,"title":"MysqlSubscription resubscribe on giving multiple reactive arguments","user":{"login":"blitzlightnin","id":7713150,"avatar_url":"https://avatars.githubusercontent.com/u/7713150?v=3","gravatar_id":"","url":"https://api.github.com/users/blitzlightnin","html_url":"https://github.com/blitzlightnin","followers_url":"https://api.github.com/users/blitzlightnin/followers","following_url":"https://api.github.com/users/blitzlightnin/following{/other_user}","gists_url":"https://api.github.com/users/blitzlightnin/gists{/gist_id}","starred_url":"https://api.github.com/users/blitzlightnin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blitzlightnin/subscriptions","organizations_url":"https://api.github.com/users/blitzlightnin/orgs","repos_url":"https://api.github.com/users/blitzlightnin/repos","events_url":"https://api.github.com/users/blitzlightnin/events{/privacy}","received_events_url":"https://api.github.com/users/blitzlightnin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-13T13:09:20Z","updated_at":"2015-11-23T05:45:42Z","closed_at":"2015-11-23T05:45:42Z","body":"MysqlSubscription resubscribe on giving multiple reactive arguments\r\n\r\nI'm trying to make template level subscription work and have already successfully passed the param(either from session or FlowRouter.getQueryParams) to it.\r\n\r\nwhich is inside instance.autorun when Template.onCreated.\r\n\r\nhowever after the session data or FlowRouter.getQueryParams changed, it will give an error like this:\r\n\r\n\"Exception from Tracker recompute function:\" meteor.js:880:10\r\n\"Error: Subscription failed!\"\r\n\r\nI wish it could be resubscribed so that the page it will become reactive after session data changed or url params changed.\r\n\r\nWill we use stop()?\r\nIf the Session data/FlowRouter.getQueryParams is changed, will the Template become destroyed? if its not destroyed then how to stop it?\r\nCan you give me an example of doing this to resubscribe on giving different arguments to MysqlSubscription?And if possible can you also give me an example of giving multiple arguments to the MysqlSubscription?"}}