{"action":"closed","issue":{"url":"https://api.github.com/repos/mysociety/pombola/issues/1838","repository_url":"https://api.github.com/repos/mysociety/pombola","labels_url":"https://api.github.com/repos/mysociety/pombola/issues/1838/labels{/name}","comments_url":"https://api.github.com/repos/mysociety/pombola/issues/1838/comments","events_url":"https://api.github.com/repos/mysociety/pombola/issues/1838/events","html_url":"https://github.com/mysociety/pombola/issues/1838","id":118056462,"number":1838,"title":"Constituency box should only show constituency of Parliamentary Memberships","user":{"login":"tmtmtmtm","id":57483,"avatar_url":"https://avatars.githubusercontent.com/u/57483?v=3","gravatar_id":"","url":"https://api.github.com/users/tmtmtmtm","html_url":"https://github.com/tmtmtmtm","followers_url":"https://api.github.com/users/tmtmtmtm/followers","following_url":"https://api.github.com/users/tmtmtmtm/following{/other_user}","gists_url":"https://api.github.com/users/tmtmtmtm/gists{/gist_id}","starred_url":"https://api.github.com/users/tmtmtmtm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmtmtmtm/subscriptions","organizations_url":"https://api.github.com/users/tmtmtmtm/orgs","repos_url":"https://api.github.com/users/tmtmtmtm/repos","events_url":"https://api.github.com/users/tmtmtmtm/events{/privacy}","received_events_url":"https://api.github.com/users/tmtmtmtm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mysociety/pombola/labels/4%20-%20Reviewing","name":"4 - Reviewing","color":"006b75"},{"url":"https://api.github.com/repos/mysociety/pombola/labels/bug","name":"bug","color":"e10c02"},{"url":"https://api.github.com/repos/mysociety/pombola/labels/Difficulty%203","name":"Difficulty 3","color":"009800"},{"url":"https://api.github.com/repos/mysociety/pombola/labels/KE","name":"KE","color":"009800"}],"state":"closed","locked":false,"assignee":{"login":"duncanparkes","id":56265,"avatar_url":"https://avatars.githubusercontent.com/u/56265?v=3","gravatar_id":"","url":"https://api.github.com/users/duncanparkes","html_url":"https://github.com/duncanparkes","followers_url":"https://api.github.com/users/duncanparkes/followers","following_url":"https://api.github.com/users/duncanparkes/following{/other_user}","gists_url":"https://api.github.com/users/duncanparkes/gists{/gist_id}","starred_url":"https://api.github.com/users/duncanparkes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duncanparkes/subscriptions","organizations_url":"https://api.github.com/users/duncanparkes/orgs","repos_url":"https://api.github.com/users/duncanparkes/repos","events_url":"https://api.github.com/users/duncanparkes/events{/privacy}","received_events_url":"https://api.github.com/users/duncanparkes/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/mysociety/pombola/milestones/60","html_url":"https://github.com/mysociety/pombola/milestones/2016S2","labels_url":"https://api.github.com/repos/mysociety/pombola/milestones/60/labels","id":1521586,"number":60,"title":"2016S2","description":"","creator":{"login":"tmtmtmtm","id":57483,"avatar_url":"https://avatars.githubusercontent.com/u/57483?v=3","gravatar_id":"","url":"https://api.github.com/users/tmtmtmtm","html_url":"https://github.com/tmtmtmtm","followers_url":"https://api.github.com/users/tmtmtmtm/followers","following_url":"https://api.github.com/users/tmtmtmtm/following{/other_user}","gists_url":"https://api.github.com/users/tmtmtmtm/gists{/gist_id}","starred_url":"https://api.github.com/users/tmtmtmtm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmtmtmtm/subscriptions","organizations_url":"https://api.github.com/users/tmtmtmtm/orgs","repos_url":"https://api.github.com/users/tmtmtmtm/repos","events_url":"https://api.github.com/users/tmtmtmtm/events{/privacy}","received_events_url":"https://api.github.com/users/tmtmtmtm/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":4,"state":"open","created_at":"2016-01-20T07:27:34Z","updated_at":"2016-02-02T17:46:36Z","due_on":"2016-02-01T00:00:00Z","closed_at":null},"comments":21,"created_at":"2015-11-20T14:51:13Z","updated_at":"2016-02-02T17:46:36Z","closed_at":"2016-02-02T17:46:36Z","body":"If other memberships are (probably erroneously) set to have a constituency, these end up displayed in the Constituency box on a member page (see #1831)\r\n\r\n@paullenz tidied up the incorrect data for the specific cases we could find, but we should also ensure that this box _only_ looks at the constituency for memberships of the legislature itself, so that even if bad data is entered in future, this error will not reappear.\r\n"}}