{"action":"opened","issue":{"url":"https://api.github.com/repos/shevalex/asktheworld/issues/25","labels_url":"https://api.github.com/repos/shevalex/asktheworld/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/shevalex/asktheworld/issues/25/comments","events_url":"https://api.github.com/repos/shevalex/asktheworld/issues/25/events","html_url":"https://github.com/shevalex/asktheworld/issues/25","id":96189501,"number":25,"title":"Wrong GENDER_PREFERENCE male/female index in application.js","user":{"login":"shevalex","id":10136631,"avatar_url":"https://avatars.githubusercontent.com/u/10136631?v=3","gravatar_id":"","url":"https://api.github.com/users/shevalex","html_url":"https://github.com/shevalex","followers_url":"https://api.github.com/users/shevalex/followers","following_url":"https://api.github.com/users/shevalex/following{/other_user}","gists_url":"https://api.github.com/users/shevalex/gists{/gist_id}","starred_url":"https://api.github.com/users/shevalex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shevalex/subscriptions","organizations_url":"https://api.github.com/users/shevalex/orgs","repos_url":"https://api.github.com/users/shevalex/repos","events_url":"https://api.github.com/users/shevalex/events{/privacy}","received_events_url":"https://api.github.com/users/shevalex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-20T23:37:01Z","updated_at":"2015-07-20T23:37:01Z","closed_at":null,"body":"Male index 2\r\n\r\n            if (ageCategory == this.AGE_CATEGORY_PREFERENCE[0].data) {\r\n                if (gender == this.GENDER_PREFERENCE[0].data) {\r\n                    return I18n.getLocale().literals.TargetGroupAll;\r\n                } else if (gender == this.GENDER_PREFERENCE[1].data) {\r\n                    return I18n.getLocale().literals.TargetGroupAllMen;\r\n                } else if (gender == this.GENDER_PREFERENCE[2].data) {\r\n                    return I18n.getLocale().literals.TargetGroupAllWomen;\r\n                }\r\n            } else if (ageCategory == this.AGE_CATEGORY_PREFERENCE[1].data) {\r\n                if (gender == this.GENDER_PREFERENCE[0].data) {\r\n                    return I18n.getLocale().literals.TargetGroupAllChildren;\r\n                } else if (gender == this.GENDER_PREFERENCE[1].data) {\r\n                    return I18n.getLocale().literals.TargetGroupAllBoys;\r\n                } else if (gender == this.GENDER_PREFERENCE[2].data) {\r\n                    return I18n.getLocale().literals.TargetGroupAllGirls;\r\n                }\r\n            } else if (ageCategory == this.AGE_CATEGORY_PREFERENCE[2].data) {\r\n                if (gender == this.GENDER_PREFERENCE[0].data) {\r\n                    return I18n.getLocale().literals.TargetGroupAllTeenagers;\r\n                } else if (gender == this.GENDER_PREFERENCE[1].data) {\r\n                    return I18n.getLocale().literals.TargetGroupAllTeenBoys;\r\n                } else if (gender == this.GENDER_PREFERENCE[2].data) {\r\n                    return I18n.getLocale().literals.TargetGroupAllTeenGirls;\r\n                }\r\n            } else if (ageCategory == this.AGE_CATEGORY_PREFERENCE[3].data) {\r\n                if (gender == this.GENDER_PREFERENCE[0].data) {\r\n                    return I18n.getLocale().literals.TargetGroupAllYoungs;\r\n                } else if (gender == this.GENDER_PREFERENCE[1].data) {\r\n                    return I18n.getLocale().literals.TargetGroupAllYoungMen;\r\n                } else if (gender == this.GENDER_PREFERENCE[2].data) {\r\n                    return I18n.getLocale().literals.TargetGroupAllYoungWomen;\r\n                }\r\n            } else if (ageCategory == this.AGE_CATEGORY_PREFERENCE[4].data) {\r\n                if (gender == this.GENDER_PREFERENCE[0].data) {\r\n                    return I18n.getLocale().literals.TargetGroupAllAdults;\r\n                } else if (gender == this.GENDER_PREFERENCE[1].data) {\r\n                    return I18n.getLocale().literals.TargetGroupAllAdultMen;\r\n                } else if (gender == this.GENDER_PREFERENCE[2].data) {\r\n                    return I18n.getLocale().literals.TargetGroupAllAdultWomen;\r\n                }\r\n            } else if (ageCategory == this.AGE_CATEGORY_PREFERENCE[5].data) {\r\n                if (gender == this.GENDER_PREFERENCE[0].data) {\r\n                    return I18n.getLocale().literals.TargetGroupAllSeniors;\r\n                } else if (gender == this.GENDER_PREFERENCE[1].data) {\r\n                    return I18n.getLocale().literals.TargetGroupAllSeniorMen;\r\n                } else if (gender == this.GENDER_PREFERENCE[2].data) {\r\n                    return I18n.getLocale().literals.TargetGroupAllSeniorWomen;\r\n                }\r\n            }"}}