{"action":"created","issue":{"url":"https://api.github.com/repos/mhenrixon/sidekiq-unique-jobs/issues/309","repository_url":"https://api.github.com/repos/mhenrixon/sidekiq-unique-jobs","labels_url":"https://api.github.com/repos/mhenrixon/sidekiq-unique-jobs/issues/309/labels{/name}","comments_url":"https://api.github.com/repos/mhenrixon/sidekiq-unique-jobs/issues/309/comments","events_url":"https://api.github.com/repos/mhenrixon/sidekiq-unique-jobs/issues/309/events","html_url":"https://github.com/mhenrixon/sidekiq-unique-jobs/issues/309","id":346275086,"node_id":"MDU6SXNzdWUzNDYyNzUwODY=","number":309,"title":"Sidekiq Web Pagination Broken","user":{"login":"chadrschroeder","id":5098851,"node_id":"MDQ6VXNlcjUwOTg4NTE=","avatar_url":"https://avatars3.githubusercontent.com/u/5098851?v=4","gravatar_id":"","url":"https://api.github.com/users/chadrschroeder","html_url":"https://github.com/chadrschroeder","followers_url":"https://api.github.com/users/chadrschroeder/followers","following_url":"https://api.github.com/users/chadrschroeder/following{/other_user}","gists_url":"https://api.github.com/users/chadrschroeder/gists{/gist_id}","starred_url":"https://api.github.com/users/chadrschroeder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chadrschroeder/subscriptions","organizations_url":"https://api.github.com/users/chadrschroeder/orgs","repos_url":"https://api.github.com/users/chadrschroeder/repos","events_url":"https://api.github.com/users/chadrschroeder/events{/privacy}","received_events_url":"https://api.github.com/users/chadrschroeder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-07-31T16:59:07Z","updated_at":"2018-07-31T17:14:41Z","closed_at":null,"author_association":"NONE","body":"When there are more than 100 digests to display on the Sidekiq Web Unique Digests page, the following error occurs:\r\n\r\n```\r\nNoMethodError\r\nundefined method `>' for nil:NilClass\r\n```\r\n\r\nI think this is because the `@current_page` value is `nil`.  Sidekiq Web [expects this variable in its paging partial](https://github.com/mperham/sidekiq/blob/master/web/views/_paging.erb#L6):\r\n\r\n```erb\r\n<%# sidekiq/web/views/_paging.erb %>\r\n<% if @current_page > 1 %>\r\n  ...\r\n```\r\n\r\nAlso, when are these unique digests purged?  They remain in Redis after my jobs have completed successfully and the `unique:keys` set continues to increase in size."},"comment":{"url":"https://api.github.com/repos/mhenrixon/sidekiq-unique-jobs/issues/comments/409298372","html_url":"https://github.com/mhenrixon/sidekiq-unique-jobs/issues/309#issuecomment-409298372","issue_url":"https://api.github.com/repos/mhenrixon/sidekiq-unique-jobs/issues/309","id":409298372,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTI5ODM3Mg==","user":{"login":"chadrschroeder","id":5098851,"node_id":"MDQ6VXNlcjUwOTg4NTE=","avatar_url":"https://avatars3.githubusercontent.com/u/5098851?v=4","gravatar_id":"","url":"https://api.github.com/users/chadrschroeder","html_url":"https://github.com/chadrschroeder","followers_url":"https://api.github.com/users/chadrschroeder/followers","following_url":"https://api.github.com/users/chadrschroeder/following{/other_user}","gists_url":"https://api.github.com/users/chadrschroeder/gists{/gist_id}","starred_url":"https://api.github.com/users/chadrschroeder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chadrschroeder/subscriptions","organizations_url":"https://api.github.com/users/chadrschroeder/orgs","repos_url":"https://api.github.com/users/chadrschroeder/repos","events_url":"https://api.github.com/users/chadrschroeder/events{/privacy}","received_events_url":"https://api.github.com/users/chadrschroeder/received_events","type":"User","site_admin":false},"created_at":"2018-07-31T17:14:41Z","updated_at":"2018-07-31T17:14:41Z","author_association":"NONE","body":"Thanks for the quick response."}}
{"actor":{"display_login":"chadrschroeder"}}