{"action":"closed","issue":{"url":"https://api.github.com/repos/snipe/snipe-it/issues/737","labels_url":"https://api.github.com/repos/snipe/snipe-it/issues/737/labels{/name}","comments_url":"https://api.github.com/repos/snipe/snipe-it/issues/737/comments","events_url":"https://api.github.com/repos/snipe/snipe-it/issues/737/events","html_url":"https://github.com/snipe/snipe-it/issues/737","id":67472470,"number":737,"title":"Locations page address column shows comma when address2 is not given","user":{"login":"templar112","id":6519442,"avatar_url":"https://avatars.githubusercontent.com/u/6519442?v=3","gravatar_id":"","url":"https://api.github.com/users/templar112","html_url":"https://github.com/templar112","followers_url":"https://api.github.com/users/templar112/followers","following_url":"https://api.github.com/users/templar112/following{/other_user}","gists_url":"https://api.github.com/users/templar112/gists{/gist_id}","starred_url":"https://api.github.com/users/templar112/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/templar112/subscriptions","organizations_url":"https://api.github.com/users/templar112/orgs","repos_url":"https://api.github.com/users/templar112/repos","events_url":"https://api.github.com/users/templar112/events{/privacy}","received_events_url":"https://api.github.com/users/templar112/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-09T23:30:48Z","updated_at":"2015-04-14T00:37:32Z","closed_at":"2015-04-14T00:37:32Z","body":"This is purely for the sake of neatness.\r\n\r\nWhen creating a new Location the form provides two text boxes for the \"Address\" field. Lets say the first is called \"address1\" and the seconds \"address2\".\r\n\r\nWhen only address1 is provided and the changes are saved, the resulting locations page will show the \"Address\" column of this new row with an unnecessary comma (,) at the end of address1. Since there is no address2 provided there shouldn't be a comma.\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/10819133-locations-page-address-column-shows-comma-when-address2-is-not-given?utm_campaign=plugin&utm_content=tracker%2F505106&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F505106&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"}}