{"action":"created","issue":{"url":"https://api.github.com/repos/alphagov/EFG/issues/267","labels_url":"https://api.github.com/repos/alphagov/EFG/issues/267/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/EFG/issues/267/comments","events_url":"https://api.github.com/repos/alphagov/EFG/issues/267/events","html_url":"https://github.com/alphagov/EFG/pull/267","id":55477089,"number":267,"title":"Sub-lenders","user":{"login":"Sidane","id":53722,"avatar_url":"https://avatars.githubusercontent.com/u/53722?v=3","gravatar_id":"","url":"https://api.github.com/users/Sidane","html_url":"https://github.com/Sidane","followers_url":"https://api.github.com/users/Sidane/followers","following_url":"https://api.github.com/users/Sidane/following{/other_user}","gists_url":"https://api.github.com/users/Sidane/gists{/gist_id}","starred_url":"https://api.github.com/users/Sidane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sidane/subscriptions","organizations_url":"https://api.github.com/users/Sidane/orgs","repos_url":"https://api.github.com/users/Sidane/repos","events_url":"https://api.github.com/users/Sidane/events{/privacy}","received_events_url":"https://api.github.com/users/Sidane/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-26T12:30:43Z","updated_at":"2015-01-30T15:07:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alphagov/EFG/pulls/267","html_url":"https://github.com/alphagov/EFG/pull/267","diff_url":"https://github.com/alphagov/EFG/pull/267.diff","patch_url":"https://github.com/alphagov/EFG/pull/267.patch"},"body":"Loans for certain lenders belong to a specific 'sub-lender'. Currently the sub-lender is recorded in one of the generic fields but we want this data to be managed and displayed more consistently.\r\n\r\n* CfeAdmins manage the available sub-lender options for each lender. \r\n\r\n* Lenders with sub-lender options *must* now choose a sub-lender at Loan Entry.\r\n\r\n* A data correction form allows modifying the sub-lender on existing loans.\r\n\r\nThe sub-lender value is stored as a string on the loan so that if the available sub-lender options are changed in the future, the sub-lender value for existing loans is not mistakenly changed also. \r\n\r\nWe are not migrating existing sub-lender data (i.e. from the generic fields) with this change. BBB or the lenders themselves can do this in due course with a data correction.\r\n\r\n------\r\n\r\n**Note:** This branch currently contains the `new-data-correction-types` branch. \r\nView commits for just this branch: https://github.com/alphagov/EFG/compare/new-data-correction-types...sub-lenders"},"comment":{"url":"https://api.github.com/repos/alphagov/EFG/issues/comments/72214576","html_url":"https://github.com/alphagov/EFG/pull/267#issuecomment-72214576","issue_url":"https://api.github.com/repos/alphagov/EFG/issues/267","id":72214576,"user":{"login":"Sidane","id":53722,"avatar_url":"https://avatars.githubusercontent.com/u/53722?v=3","gravatar_id":"","url":"https://api.github.com/users/Sidane","html_url":"https://github.com/Sidane","followers_url":"https://api.github.com/users/Sidane/followers","following_url":"https://api.github.com/users/Sidane/following{/other_user}","gists_url":"https://api.github.com/users/Sidane/gists{/gist_id}","starred_url":"https://api.github.com/users/Sidane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sidane/subscriptions","organizations_url":"https://api.github.com/users/Sidane/orgs","repos_url":"https://api.github.com/users/Sidane/repos","events_url":"https://api.github.com/users/Sidane/events{/privacy}","received_events_url":"https://api.github.com/users/Sidane/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T15:07:15Z","updated_at":"2015-01-30T15:07:15Z","body":"Correction - further updates will be done in another pull request, so this is good to go."}}