{"action":"created","issue":{"url":"https://api.github.com/repos/alethes/meteor-pages/issues/129","labels_url":"https://api.github.com/repos/alethes/meteor-pages/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/alethes/meteor-pages/issues/129/comments","events_url":"https://api.github.com/repos/alethes/meteor-pages/issues/129/events","html_url":"https://github.com/alethes/meteor-pages/issues/129","id":61146244,"number":129,"title":"client set method causing a fast redraw, than comeback to old values","user":{"login":"filipeportes","id":1385552,"avatar_url":"https://avatars.githubusercontent.com/u/1385552?v=3","gravatar_id":"","url":"https://api.github.com/users/filipeportes","html_url":"https://github.com/filipeportes","followers_url":"https://api.github.com/users/filipeportes/followers","following_url":"https://api.github.com/users/filipeportes/following{/other_user}","gists_url":"https://api.github.com/users/filipeportes/gists{/gist_id}","starred_url":"https://api.github.com/users/filipeportes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filipeportes/subscriptions","organizations_url":"https://api.github.com/users/filipeportes/orgs","repos_url":"https://api.github.com/users/filipeportes/repos","events_url":"https://api.github.com/users/filipeportes/events{/privacy}","received_events_url":"https://api.github.com/users/filipeportes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-13T17:21:39Z","updated_at":"2015-03-13T17:55:54Z","closed_at":null,"body":"I'm using the cliente set method to set a filter, in the server I hava: \r\n<code>\r\nPages = new Meteor.Pagination(Salons, {\r\n    router: \"iron-router\",\r\n\r\n    homeRoute: \"/salons/\",\r\n    route: \"/salons/\",\r\n    routerTemplate: \"salons\",\r\n    routerLayout: \"layout\",\r\n    itemTemplate: \"salonsItem\",\r\n    sort: {\r\n        name: 1\r\n    },\r\n    perPage: 20,\r\n    availableSettings: {filters: true, sort: true, perPage: true}});\r\n</code>\r\n\r\nand in the client:\r\n\r\n<code>\r\nPages.set({filters: {name: {$regex: new RegExp(Session.get(\"filter\"), \"i\")}}});\r\n</code>\r\n\r\nwhen the set method is called it seems to apply some changes, but cameback to the default values... the thing is, any attribute passed to the set method is affecting the end result"},"comment":{"url":"https://api.github.com/repos/alethes/meteor-pages/issues/comments/79189631","html_url":"https://github.com/alethes/meteor-pages/issues/129#issuecomment-79189631","issue_url":"https://api.github.com/repos/alethes/meteor-pages/issues/129","id":79189631,"user":{"login":"filipeportes","id":1385552,"avatar_url":"https://avatars.githubusercontent.com/u/1385552?v=3","gravatar_id":"","url":"https://api.github.com/users/filipeportes","html_url":"https://github.com/filipeportes","followers_url":"https://api.github.com/users/filipeportes/followers","following_url":"https://api.github.com/users/filipeportes/following{/other_user}","gists_url":"https://api.github.com/users/filipeportes/gists{/gist_id}","starred_url":"https://api.github.com/users/filipeportes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filipeportes/subscriptions","organizations_url":"https://api.github.com/users/filipeportes/orgs","repos_url":"https://api.github.com/users/filipeportes/repos","events_url":"https://api.github.com/users/filipeportes/events{/privacy}","received_events_url":"https://api.github.com/users/filipeportes/received_events","type":"User","site_admin":false},"created_at":"2015-03-13T17:55:54Z","updated_at":"2015-03-13T17:55:54Z","body":"changed to\r\n<code> Pages.set({filters: {name: {$regex: filter, $options: \"i\"}}}); </code>\r\nand its working, thanks"}}