{"action":"created","issue":{"url":"https://api.github.com/repos/Murodese/pynab/issues/186","labels_url":"https://api.github.com/repos/Murodese/pynab/issues/186/labels{/name}","comments_url":"https://api.github.com/repos/Murodese/pynab/issues/186/comments","events_url":"https://api.github.com/repos/Murodese/pynab/issues/186/events","html_url":"https://github.com/Murodese/pynab/issues/186","id":63638856,"number":186,"title":"API tvsearch by season only ever returns one entry","user":{"login":"gkoh","id":5484552,"avatar_url":"https://avatars.githubusercontent.com/u/5484552?v=3","gravatar_id":"","url":"https://api.github.com/users/gkoh","html_url":"https://github.com/gkoh","followers_url":"https://api.github.com/users/gkoh/followers","following_url":"https://api.github.com/users/gkoh/following{/other_user}","gists_url":"https://api.github.com/users/gkoh/gists{/gist_id}","starred_url":"https://api.github.com/users/gkoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkoh/subscriptions","organizations_url":"https://api.github.com/users/gkoh/orgs","repos_url":"https://api.github.com/users/gkoh/repos","events_url":"https://api.github.com/users/gkoh/events{/privacy}","received_events_url":"https://api.github.com/users/gkoh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-23T06:30:05Z","updated_at":"2015-03-23T22:05:34Z","closed_at":null,"body":"Currently running 1.6.0.\r\nI recently tried doing a backlog search and was surprised to see only a single entry showing up.\r\n\r\nThe relevant api search query looks like this:\r\n```\r\nhttp://yourhost.com/api?apikey=<apikey>&limit=100&t=tvsearch&season=05&rid=<tvshow id>&maxage=500&cat=5030%2C5040\r\n```\r\n\r\nIf I remove the season filter 'season=05' it returns many results in season 5 as expected but including other seasons (also as expected).\r\nA manual check of the DB also confirms there are many more entries, they just don't seem to make it to newznab API output.\r\nThis seems to occur with any TV show I attempt to run a backlog search against.\r\n\r\nLet me know if you need more details, I suspect the query into the DB is going wrong somewhere."},"comment":{"url":"https://api.github.com/repos/Murodese/pynab/issues/comments/85224205","html_url":"https://github.com/Murodese/pynab/issues/186#issuecomment-85224205","issue_url":"https://api.github.com/repos/Murodese/pynab/issues/186","id":85224205,"user":{"login":"gkoh","id":5484552,"avatar_url":"https://avatars.githubusercontent.com/u/5484552?v=3","gravatar_id":"","url":"https://api.github.com/users/gkoh","html_url":"https://github.com/gkoh","followers_url":"https://api.github.com/users/gkoh/followers","following_url":"https://api.github.com/users/gkoh/following{/other_user}","gists_url":"https://api.github.com/users/gkoh/gists{/gist_id}","starred_url":"https://api.github.com/users/gkoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkoh/subscriptions","organizations_url":"https://api.github.com/users/gkoh/orgs","repos_url":"https://api.github.com/users/gkoh/repos","events_url":"https://api.github.com/users/gkoh/events{/privacy}","received_events_url":"https://api.github.com/users/gkoh/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T22:05:34Z","updated_at":"2015-03-23T22:05:34Z","body":"I did not actually try that!\nI found removing the season filter was mostly right, so suspect\nsomething there.\n\nOn Mon, 2015-03-23 at 06:33 -0700, M B wrote:\n\n> Does it work without max age? I haven't actually looked at the age\n> calculation, but just a guess!\n> \n> —\n> Reply to this email directly or view it on GitHub.\n> \n> \n> \n\n"}}