{"action":"opened","issue":{"url":"https://api.github.com/repos/alethes/meteor-pages/issues/121","labels_url":"https://api.github.com/repos/alethes/meteor-pages/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/alethes/meteor-pages/issues/121/comments","events_url":"https://api.github.com/repos/alethes/meteor-pages/issues/121/events","html_url":"https://github.com/alethes/meteor-pages/issues/121","id":56942583,"number":121,"title":"Issue in reordering observer","user":{"login":"paulbalomiri","id":206984,"avatar_url":"https://avatars.githubusercontent.com/u/206984?v=3","gravatar_id":"","url":"https://api.github.com/users/paulbalomiri","html_url":"https://github.com/paulbalomiri","followers_url":"https://api.github.com/users/paulbalomiri/followers","following_url":"https://api.github.com/users/paulbalomiri/following{/other_user}","gists_url":"https://api.github.com/users/paulbalomiri/gists{/gist_id}","starred_url":"https://api.github.com/users/paulbalomiri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulbalomiri/subscriptions","organizations_url":"https://api.github.com/users/paulbalomiri/orgs","repos_url":"https://api.github.com/users/paulbalomiri/repos","events_url":"https://api.github.com/users/paulbalomiri/events{/privacy}","received_events_url":"https://api.github.com/users/paulbalomiri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-08T07:34:29Z","updated_at":"2015-02-08T07:34:29Z","closed_at":null,"body":"[Line 578](https://github.com/alethes/meteor-pages/blob/535b4f/lib/pages.coffee#L578) references an undefined `i`. I uppose `at` was meant, but please leave this open until someone (including me) can confirm this works. \r\n\r\nThe Error I got is : \r\n```\r\nI20150208-02:01:13.973(-5)? Exception in queued task: ReferenceError: i is not defined\r\nI20150208-02:01:13.973(-5)?     at NotificationPagination.c.observeChanges.movedBefore (packages/alethes:pages/lib/pages.coffee:578:54)\r\nI20150208-02:01:13.973(-5)?     at packages/mongo/observe_multiplex.js:163:1\r\nI20150208-02:01:13.973(-5)?     at Array.forEach (native)\r\nI20150208-02:01:13.973(-5)?     at Function._.each._.forEach (packages/underscore/underscore.js:105:1)\r\nI20150208-02:01:13.973(-5)?     at Object.task (packages/mongo/observe_multiplex.js:157:1)\r\nI20150208-02:01:13.973(-5)?     at [object Object]._.extend._run (packages/meteor/fiber_helpers.js:145:1)\r\nI20150208-02:01:13.973(-5)?     at packages/meteor/fiber_helpers.js:123:1\r\n```\r\nThe fact that i created  a `NotificationPagination` class is of no relevance here, or so i think.\r\n\r\nA Pull request is here https://github.com/alethes/meteor-pages/pull/120\r\nSadly I have no time however to test this right now."}}