{"action":"created","issue":{"url":"https://api.github.com/repos/theCrag/website/issues/2770","repository_url":"https://api.github.com/repos/theCrag/website","labels_url":"https://api.github.com/repos/theCrag/website/issues/2770/labels{/name}","comments_url":"https://api.github.com/repos/theCrag/website/issues/2770/comments","events_url":"https://api.github.com/repos/theCrag/website/issues/2770/events","html_url":"https://github.com/theCrag/website/issues/2770","id":230604169,"number":2770,"title":"CPR logic of new Ascent Gear Style field","user":{"login":"scd","id":373058,"avatar_url":"https://avatars3.githubusercontent.com/u/373058?v=3","gravatar_id":"","url":"https://api.github.com/users/scd","html_url":"https://github.com/scd","followers_url":"https://api.github.com/users/scd/followers","following_url":"https://api.github.com/users/scd/following{/other_user}","gists_url":"https://api.github.com/users/scd/gists{/gist_id}","starred_url":"https://api.github.com/users/scd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scd/subscriptions","organizations_url":"https://api.github.com/users/scd/orgs","repos_url":"https://api.github.com/users/scd/repos","events_url":"https://api.github.com/users/scd/events{/privacy}","received_events_url":"https://api.github.com/users/scd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-05-23T06:54:12Z","updated_at":"2017-05-29T13:32:48Z","closed_at":null,"body":"We need to do CPR type off ascent gear style setting, not route gear style setting.\r\n\r\nThe rules involve looking at both the gear style of the route and the tick type\r\n\r\nGear Style: Sport\r\n  * Greenpoint => Trad\r\n  * Greenpoint Onsight => Trad\r\n  * Solo => Trad\r\n\r\nGear Style: Trad\r\n  * Pink point => Sport\r\n  * Top roping ascents => Sport\r\n\r\nGear Style: Boulder\r\n  * Top roping ascents => Sport\r\n\r\nGear Style: Top rope\r\n  * Top roping ascents => Sport\r\n  * Solo => Trad\r\n\r\nGear Style: DWS\r\n  * all => Sport\r\n\r\nGear Style: Aid\r\n  * no mapping\r\n\r\nGear Style: Via ferrata\r\n  * no mapping\r\n\r\nGear Style: Ice\r\n  * no mapping\r\n\r\nGear Style: Alpine\r\n  * no mapping\r\n\r\nGear Style: Traverse\r\n  * no mapping\r\n\r\nGear Style: Unknown\r\n  * no mapping\r\n\r\nIf somebody failed a greenpoint and logged a failed attempt, this will go on their failed ascents for sport. This is not quite right, but a real edge case.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/theCrag/website/issues/comments/304662171","html_url":"https://github.com/theCrag/website/issues/2770#issuecomment-304662171","issue_url":"https://api.github.com/repos/theCrag/website/issues/2770","id":304662171,"user":{"login":"brendanheywood","id":187449,"avatar_url":"https://avatars3.githubusercontent.com/u/187449?v=3","gravatar_id":"","url":"https://api.github.com/users/brendanheywood","html_url":"https://github.com/brendanheywood","followers_url":"https://api.github.com/users/brendanheywood/followers","following_url":"https://api.github.com/users/brendanheywood/following{/other_user}","gists_url":"https://api.github.com/users/brendanheywood/gists{/gist_id}","starred_url":"https://api.github.com/users/brendanheywood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendanheywood/subscriptions","organizations_url":"https://api.github.com/users/brendanheywood/orgs","repos_url":"https://api.github.com/users/brendanheywood/repos","events_url":"https://api.github.com/users/brendanheywood/events{/privacy}","received_events_url":"https://api.github.com/users/brendanheywood/received_events","type":"User","site_admin":false},"created_at":"2017-05-29T13:32:48Z","updated_at":"2017-05-29T13:32:48Z","body":"We already have that and are using it in the drill down urls:\r\n\r\n/ascents/has/rating/with-route-gear-style/sport/in-setting/natural/by/brendanheywood/?sortby=rating,desc\r\n\r\nBut the problem is that it's generic as is just /has/rating/ when it really needs to be /has/sport-cpr/\r\n\r\n/ascents/has/sport-cpr/in-setting/natural/by/brendanheywood/?sortby=rating,desc\r\n\r\nthis makes more sense to me than\r\n\r\n/ascents/has/rating/with-ascent-gear-style/sport/in-setting/natural/by/brendanheywood/?sortby=rating,desc\r\n"}}
{"actor":{"display_login":"brendanheywood"}}