{"action":"closed","number":71,"pull_request":{"url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/pulls/71","id":54987728,"html_url":"https://github.com/linuxlewis/djorm-ext-pgfulltext/pull/71","diff_url":"https://github.com/linuxlewis/djorm-ext-pgfulltext/pull/71.diff","patch_url":"https://github.com/linuxlewis/djorm-ext-pgfulltext/pull/71.patch","issue_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/issues/71","number":71,"state":"closed","locked":false,"title":"Fix for empty search_vector","user":{"login":"CGenie","id":735124,"avatar_url":"https://avatars.githubusercontent.com/u/735124?v=3","gravatar_id":"","url":"https://api.github.com/users/CGenie","html_url":"https://github.com/CGenie","followers_url":"https://api.github.com/users/CGenie/followers","following_url":"https://api.github.com/users/CGenie/following{/other_user}","gists_url":"https://api.github.com/users/CGenie/gists{/gist_id}","starred_url":"https://api.github.com/users/CGenie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CGenie/subscriptions","organizations_url":"https://api.github.com/users/CGenie/orgs","repos_url":"https://api.github.com/users/CGenie/repos","events_url":"https://api.github.com/users/CGenie/events{/privacy}","received_events_url":"https://api.github.com/users/CGenie/received_events","type":"User","site_admin":false},"body":"Sometimes it might happen that the search vector is empty (like when the\r\n'search_index' tuple is empty). In this case the SQL was incorrect:\r\nSET search_index =  WHERE ...\r\nThis commit fixes the above SQL to\r\nSET search_index = '' WHERE ...","created_at":"2016-01-04T15:42:24Z","updated_at":"2016-01-05T19:49:29Z","closed_at":"2016-01-05T19:49:29Z","merged_at":"2016-01-05T19:49:29Z","merge_commit_sha":"144c9b9394221949ad68f5e5965f01584310610f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/pulls/71/commits","review_comments_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/pulls/71/comments","review_comment_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/pulls/comments{/number}","comments_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/issues/71/comments","statuses_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/statuses/e0730d9f74bb8a9995354354fcc6df3534d11654","head":{"label":"CGenie:emtpy-search-index","ref":"emtpy-search-index","sha":"e0730d9f74bb8a9995354354fcc6df3534d11654","user":{"login":"CGenie","id":735124,"avatar_url":"https://avatars.githubusercontent.com/u/735124?v=3","gravatar_id":"","url":"https://api.github.com/users/CGenie","html_url":"https://github.com/CGenie","followers_url":"https://api.github.com/users/CGenie/followers","following_url":"https://api.github.com/users/CGenie/following{/other_user}","gists_url":"https://api.github.com/users/CGenie/gists{/gist_id}","starred_url":"https://api.github.com/users/CGenie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CGenie/subscriptions","organizations_url":"https://api.github.com/users/CGenie/orgs","repos_url":"https://api.github.com/users/CGenie/repos","events_url":"https://api.github.com/users/CGenie/events{/privacy}","received_events_url":"https://api.github.com/users/CGenie/received_events","type":"User","site_admin":false},"repo":{"id":44594366,"name":"djorm-ext-pgfulltext","full_name":"CGenie/djorm-ext-pgfulltext","owner":{"login":"CGenie","id":735124,"avatar_url":"https://avatars.githubusercontent.com/u/735124?v=3","gravatar_id":"","url":"https://api.github.com/users/CGenie","html_url":"https://github.com/CGenie","followers_url":"https://api.github.com/users/CGenie/followers","following_url":"https://api.github.com/users/CGenie/following{/other_user}","gists_url":"https://api.github.com/users/CGenie/gists{/gist_id}","starred_url":"https://api.github.com/users/CGenie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CGenie/subscriptions","organizations_url":"https://api.github.com/users/CGenie/orgs","repos_url":"https://api.github.com/users/CGenie/repos","events_url":"https://api.github.com/users/CGenie/events{/privacy}","received_events_url":"https://api.github.com/users/CGenie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/CGenie/djorm-ext-pgfulltext","description":"PostgreSQL full-text search integration with django orm.","fork":true,"url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext","forks_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/forks","keys_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/teams","hooks_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/hooks","issue_events_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/issues/events{/number}","events_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/events","assignees_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/assignees{/user}","branches_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/branches{/branch}","tags_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/tags","blobs_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/git/refs{/sha}","trees_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/statuses/{sha}","languages_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/languages","stargazers_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/stargazers","contributors_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/contributors","subscribers_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/subscribers","subscription_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/subscription","commits_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/commits{/sha}","git_commits_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/git/commits{/sha}","comments_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/comments{/number}","issue_comment_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/issues/comments{/number}","contents_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/contents/{+path}","compare_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/merges","archive_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/downloads","issues_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/issues{/number}","pulls_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/pulls{/number}","milestones_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/milestones{/number}","notifications_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/labels{/name}","releases_url":"https://api.github.com/repos/CGenie/djorm-ext-pgfulltext/releases{/id}","created_at":"2015-10-20T09:00:46Z","updated_at":"2015-10-20T09:00:46Z","pushed_at":"2016-01-04T15:42:09Z","git_url":"git://github.com/CGenie/djorm-ext-pgfulltext.git","ssh_url":"git@github.com:CGenie/djorm-ext-pgfulltext.git","clone_url":"https://github.com/CGenie/djorm-ext-pgfulltext.git","svn_url":"https://github.com/CGenie/djorm-ext-pgfulltext","homepage":"","size":88,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"linuxlewis:master","ref":"master","sha":"9b05f9ac10a97910be45c25b149376a80a928b7b","user":{"login":"linuxlewis","id":611649,"avatar_url":"https://avatars.githubusercontent.com/u/611649?v=3","gravatar_id":"","url":"https://api.github.com/users/linuxlewis","html_url":"https://github.com/linuxlewis","followers_url":"https://api.github.com/users/linuxlewis/followers","following_url":"https://api.github.com/users/linuxlewis/following{/other_user}","gists_url":"https://api.github.com/users/linuxlewis/gists{/gist_id}","starred_url":"https://api.github.com/users/linuxlewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linuxlewis/subscriptions","organizations_url":"https://api.github.com/users/linuxlewis/orgs","repos_url":"https://api.github.com/users/linuxlewis/repos","events_url":"https://api.github.com/users/linuxlewis/events{/privacy}","received_events_url":"https://api.github.com/users/linuxlewis/received_events","type":"User","site_admin":false},"repo":{"id":5822968,"name":"djorm-ext-pgfulltext","full_name":"linuxlewis/djorm-ext-pgfulltext","owner":{"login":"linuxlewis","id":611649,"avatar_url":"https://avatars.githubusercontent.com/u/611649?v=3","gravatar_id":"","url":"https://api.github.com/users/linuxlewis","html_url":"https://github.com/linuxlewis","followers_url":"https://api.github.com/users/linuxlewis/followers","following_url":"https://api.github.com/users/linuxlewis/following{/other_user}","gists_url":"https://api.github.com/users/linuxlewis/gists{/gist_id}","starred_url":"https://api.github.com/users/linuxlewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linuxlewis/subscriptions","organizations_url":"https://api.github.com/users/linuxlewis/orgs","repos_url":"https://api.github.com/users/linuxlewis/repos","events_url":"https://api.github.com/users/linuxlewis/events{/privacy}","received_events_url":"https://api.github.com/users/linuxlewis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/linuxlewis/djorm-ext-pgfulltext","description":"PostgreSQL full-text search integration with django orm.","fork":false,"url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext","forks_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/forks","keys_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/keys{/key_id}","collaborators_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/teams","hooks_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/hooks","issue_events_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/issues/events{/number}","events_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/events","assignees_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/assignees{/user}","branches_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/branches{/branch}","tags_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/tags","blobs_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/git/refs{/sha}","trees_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/git/trees{/sha}","statuses_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/statuses/{sha}","languages_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/languages","stargazers_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/stargazers","contributors_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/contributors","subscribers_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/subscribers","subscription_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/subscription","commits_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/commits{/sha}","git_commits_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/git/commits{/sha}","comments_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/comments{/number}","issue_comment_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/issues/comments{/number}","contents_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/contents/{+path}","compare_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/compare/{base}...{head}","merges_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/merges","archive_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/downloads","issues_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/issues{/number}","pulls_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/pulls{/number}","milestones_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/milestones{/number}","notifications_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/labels{/name}","releases_url":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/releases{/id}","created_at":"2012-09-15T18:41:41Z","updated_at":"2015-12-24T14:59:30Z","pushed_at":"2016-01-05T19:49:29Z","git_url":"git://github.com/linuxlewis/djorm-ext-pgfulltext.git","ssh_url":"git@github.com:linuxlewis/djorm-ext-pgfulltext.git","clone_url":"https://github.com/linuxlewis/djorm-ext-pgfulltext.git","svn_url":"https://github.com/linuxlewis/djorm-ext-pgfulltext","homepage":"","size":95,"stargazers_count":196,"watchers_count":196,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":61,"mirror_url":null,"open_issues_count":25,"forks":61,"open_issues":25,"watchers":196,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/pulls/71"},"html":{"href":"https://github.com/linuxlewis/djorm-ext-pgfulltext/pull/71"},"issue":{"href":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/issues/71"},"comments":{"href":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/issues/71/comments"},"review_comments":{"href":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/pulls/71/comments"},"review_comment":{"href":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/pulls/71/commits"},"statuses":{"href":"https://api.github.com/repos/linuxlewis/djorm-ext-pgfulltext/statuses/e0730d9f74bb8a9995354354fcc6df3534d11654"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"linuxlewis","id":611649,"avatar_url":"https://avatars.githubusercontent.com/u/611649?v=3","gravatar_id":"","url":"https://api.github.com/users/linuxlewis","html_url":"https://github.com/linuxlewis","followers_url":"https://api.github.com/users/linuxlewis/followers","following_url":"https://api.github.com/users/linuxlewis/following{/other_user}","gists_url":"https://api.github.com/users/linuxlewis/gists{/gist_id}","starred_url":"https://api.github.com/users/linuxlewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linuxlewis/subscriptions","organizations_url":"https://api.github.com/users/linuxlewis/orgs","repos_url":"https://api.github.com/users/linuxlewis/repos","events_url":"https://api.github.com/users/linuxlewis/events{/privacy}","received_events_url":"https://api.github.com/users/linuxlewis/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":40,"deletions":3,"changed_files":4}}