{"action":"created","issue":{"url":"https://api.github.com/repos/SEED-platform/seed/issues/720","repository_url":"https://api.github.com/repos/SEED-platform/seed","labels_url":"https://api.github.com/repos/SEED-platform/seed/issues/720/labels{/name}","comments_url":"https://api.github.com/repos/SEED-platform/seed/issues/720/comments","events_url":"https://api.github.com/repos/SEED-platform/seed/issues/720/events","html_url":"https://github.com/SEED-platform/seed/pull/720","id":131510244,"number":720,"title":"Fix error when deleting buildings when label filter active","user":{"login":"pipermerriam","id":824194,"avatar_url":"https://avatars.githubusercontent.com/u/824194?v=3","gravatar_id":"","url":"https://api.github.com/users/pipermerriam","html_url":"https://github.com/pipermerriam","followers_url":"https://api.github.com/users/pipermerriam/followers","following_url":"https://api.github.com/users/pipermerriam/following{/other_user}","gists_url":"https://api.github.com/users/pipermerriam/gists{/gist_id}","starred_url":"https://api.github.com/users/pipermerriam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pipermerriam/subscriptions","organizations_url":"https://api.github.com/users/pipermerriam/orgs","repos_url":"https://api.github.com/users/pipermerriam/repos","events_url":"https://api.github.com/users/pipermerriam/events{/privacy}","received_events_url":"https://api.github.com/users/pipermerriam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-04T23:54:13Z","updated_at":"2016-02-06T00:59:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SEED-platform/seed/pulls/720","html_url":"https://github.com/SEED-platform/seed/pull/720","diff_url":"https://github.com/SEED-platform/seed/pull/720.diff","patch_url":"https://github.com/SEED-platform/seed/pull/720.patch"},"body":"https://github.com/SEED-platform/seed/issues/712\r\n\r\n### What was wrong?\r\n\r\nAn error in the `django-pgjson` library occurs under the condition that the `extra_data` field is queried with something like `extra_data__gt=...` and then that query is used as a subquery for another queryset.\r\n\r\nhttps://github.com/djangonauts/django-pgjson/issues/35\r\n\r\n### How was it fixed.\r\n\r\nForce evaluation of the subquery.\r\n\r\n#### Cute animal picture.\r\n\r\n![super-cute-kitten-pictures-awesomelycute-com-1547](https://cloud.githubusercontent.com/assets/824194/12833741/87dbfb3c-cb57-11e5-9ed4-dea839f70187.jpg)\r\n"},"comment":{"url":"https://api.github.com/repos/SEED-platform/seed/issues/comments/180641695","html_url":"https://github.com/SEED-platform/seed/pull/720#issuecomment-180641695","issue_url":"https://api.github.com/repos/SEED-platform/seed/issues/720","id":180641695,"user":{"login":"pipermerriam","id":824194,"avatar_url":"https://avatars.githubusercontent.com/u/824194?v=3","gravatar_id":"","url":"https://api.github.com/users/pipermerriam","html_url":"https://github.com/pipermerriam","followers_url":"https://api.github.com/users/pipermerriam/followers","following_url":"https://api.github.com/users/pipermerriam/following{/other_user}","gists_url":"https://api.github.com/users/pipermerriam/gists{/gist_id}","starred_url":"https://api.github.com/users/pipermerriam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pipermerriam/subscriptions","organizations_url":"https://api.github.com/users/pipermerriam/orgs","repos_url":"https://api.github.com/users/pipermerriam/repos","events_url":"https://api.github.com/users/pipermerriam/events{/privacy}","received_events_url":"https://api.github.com/users/pipermerriam/received_events","type":"User","site_admin":false},"created_at":"2016-02-06T00:59:41Z","updated_at":"2016-02-06T00:59:41Z","body":"Huzzah! tests are green.  good to go."}}