{"action":"closed","number":6163,"pull_request":{"url":"https://api.github.com/repos/bolt/bolt/pulls/6163","id":97756579,"html_url":"https://github.com/bolt/bolt/pull/6163","diff_url":"https://github.com/bolt/bolt/pull/6163.diff","patch_url":"https://github.com/bolt/bolt/pull/6163.patch","issue_url":"https://api.github.com/repos/bolt/bolt/issues/6163","number":6163,"state":"closed","locked":false,"title":"Adapted searchSingleContentType() to allow status = ... to be passed as a filter","user":{"login":"graham73may","id":6642498,"avatar_url":"https://avatars3.githubusercontent.com/u/6642498?v=3","gravatar_id":"","url":"https://api.github.com/users/graham73may","html_url":"https://github.com/graham73may","followers_url":"https://api.github.com/users/graham73may/followers","following_url":"https://api.github.com/users/graham73may/following{/other_user}","gists_url":"https://api.github.com/users/graham73may/gists{/gist_id}","starred_url":"https://api.github.com/users/graham73may/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graham73may/subscriptions","organizations_url":"https://api.github.com/users/graham73may/orgs","repos_url":"https://api.github.com/users/graham73may/repos","events_url":"https://api.github.com/users/graham73may/events{/privacy}","received_events_url":"https://api.github.com/users/graham73may/received_events","type":"User","site_admin":false},"body":"Trying to use the searchContent() function in the backend to allow for content selection regardless of status (in an extension - in my particular instance this in the RelationList extension). E.g. if I set two things to be timed, the status=published where clause doesn't allow me to select them. \r\n\r\n'status' as a filter has been added to the searchSingleContentType() function with a fallback to `'published'` if a specific filter has not been defined. (Works the same as already handled in Core at [`src/Legacy/Storage.php`](https://github.com/bolt/bolt/blob/v3.2.3/src/Legacy/Storage.php#L1282-L1284))","created_at":"2016-12-13T14:03:13Z","updated_at":"2017-04-01T15:16:07Z","closed_at":"2017-04-01T15:16:07Z","merged_at":null,"merge_commit_sha":"7812e32f447460026bddd8628fe861aea37baf68","assignee":{"login":"rossriley","id":5082,"avatar_url":"https://avatars3.githubusercontent.com/u/5082?v=3","gravatar_id":"","url":"https://api.github.com/users/rossriley","html_url":"https://github.com/rossriley","followers_url":"https://api.github.com/users/rossriley/followers","following_url":"https://api.github.com/users/rossriley/following{/other_user}","gists_url":"https://api.github.com/users/rossriley/gists{/gist_id}","starred_url":"https://api.github.com/users/rossriley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rossriley/subscriptions","organizations_url":"https://api.github.com/users/rossriley/orgs","repos_url":"https://api.github.com/users/rossriley/repos","events_url":"https://api.github.com/users/rossriley/events{/privacy}","received_events_url":"https://api.github.com/users/rossriley/received_events","type":"User","site_admin":false},"assignees":[{"login":"rossriley","id":5082,"avatar_url":"https://avatars3.githubusercontent.com/u/5082?v=3","gravatar_id":"","url":"https://api.github.com/users/rossriley","html_url":"https://github.com/rossriley","followers_url":"https://api.github.com/users/rossriley/followers","following_url":"https://api.github.com/users/rossriley/following{/other_user}","gists_url":"https://api.github.com/users/rossriley/gists{/gist_id}","starred_url":"https://api.github.com/users/rossriley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rossriley/subscriptions","organizations_url":"https://api.github.com/users/rossriley/orgs","repos_url":"https://api.github.com/users/rossriley/repos","events_url":"https://api.github.com/users/rossriley/events{/privacy}","received_events_url":"https://api.github.com/users/rossriley/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/bolt/bolt/pulls/6163/commits","review_comments_url":"https://api.github.com/repos/bolt/bolt/pulls/6163/comments","review_comment_url":"https://api.github.com/repos/bolt/bolt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bolt/bolt/issues/6163/comments","statuses_url":"https://api.github.com/repos/bolt/bolt/statuses/4586314f4deddf4430e10771a7926fc94eeeace4","head":{"label":"graham73may:feature__status-filter-on-searchcontent","ref":"feature__status-filter-on-searchcontent","sha":"4586314f4deddf4430e10771a7926fc94eeeace4","user":{"login":"graham73may","id":6642498,"avatar_url":"https://avatars3.githubusercontent.com/u/6642498?v=3","gravatar_id":"","url":"https://api.github.com/users/graham73may","html_url":"https://github.com/graham73may","followers_url":"https://api.github.com/users/graham73may/followers","following_url":"https://api.github.com/users/graham73may/following{/other_user}","gists_url":"https://api.github.com/users/graham73may/gists{/gist_id}","starred_url":"https://api.github.com/users/graham73may/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graham73may/subscriptions","organizations_url":"https://api.github.com/users/graham73may/orgs","repos_url":"https://api.github.com/users/graham73may/repos","events_url":"https://api.github.com/users/graham73may/events{/privacy}","received_events_url":"https://api.github.com/users/graham73may/received_events","type":"User","site_admin":false},"repo":{"id":71449776,"name":"bolt","full_name":"graham73may/bolt","owner":{"login":"graham73may","id":6642498,"avatar_url":"https://avatars3.githubusercontent.com/u/6642498?v=3","gravatar_id":"","url":"https://api.github.com/users/graham73may","html_url":"https://github.com/graham73may","followers_url":"https://api.github.com/users/graham73may/followers","following_url":"https://api.github.com/users/graham73may/following{/other_user}","gists_url":"https://api.github.com/users/graham73may/gists{/gist_id}","starred_url":"https://api.github.com/users/graham73may/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graham73may/subscriptions","organizations_url":"https://api.github.com/users/graham73may/orgs","repos_url":"https://api.github.com/users/graham73may/repos","events_url":"https://api.github.com/users/graham73may/events{/privacy}","received_events_url":"https://api.github.com/users/graham73may/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/graham73may/bolt","description":"Bolt is a simple CMS written in PHP. It is based on Silex and Symfony components, uses Twig and either SQLite, MySQL or PostgreSQL.","fork":true,"url":"https://api.github.com/repos/graham73may/bolt","forks_url":"https://api.github.com/repos/graham73may/bolt/forks","keys_url":"https://api.github.com/repos/graham73may/bolt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/graham73may/bolt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/graham73may/bolt/teams","hooks_url":"https://api.github.com/repos/graham73may/bolt/hooks","issue_events_url":"https://api.github.com/repos/graham73may/bolt/issues/events{/number}","events_url":"https://api.github.com/repos/graham73may/bolt/events","assignees_url":"https://api.github.com/repos/graham73may/bolt/assignees{/user}","branches_url":"https://api.github.com/repos/graham73may/bolt/branches{/branch}","tags_url":"https://api.github.com/repos/graham73may/bolt/tags","blobs_url":"https://api.github.com/repos/graham73may/bolt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/graham73may/bolt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/graham73may/bolt/git/refs{/sha}","trees_url":"https://api.github.com/repos/graham73may/bolt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/graham73may/bolt/statuses/{sha}","languages_url":"https://api.github.com/repos/graham73may/bolt/languages","stargazers_url":"https://api.github.com/repos/graham73may/bolt/stargazers","contributors_url":"https://api.github.com/repos/graham73may/bolt/contributors","subscribers_url":"https://api.github.com/repos/graham73may/bolt/subscribers","subscription_url":"https://api.github.com/repos/graham73may/bolt/subscription","commits_url":"https://api.github.com/repos/graham73may/bolt/commits{/sha}","git_commits_url":"https://api.github.com/repos/graham73may/bolt/git/commits{/sha}","comments_url":"https://api.github.com/repos/graham73may/bolt/comments{/number}","issue_comment_url":"https://api.github.com/repos/graham73may/bolt/issues/comments{/number}","contents_url":"https://api.github.com/repos/graham73may/bolt/contents/{+path}","compare_url":"https://api.github.com/repos/graham73may/bolt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/graham73may/bolt/merges","archive_url":"https://api.github.com/repos/graham73may/bolt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/graham73may/bolt/downloads","issues_url":"https://api.github.com/repos/graham73may/bolt/issues{/number}","pulls_url":"https://api.github.com/repos/graham73may/bolt/pulls{/number}","milestones_url":"https://api.github.com/repos/graham73may/bolt/milestones{/number}","notifications_url":"https://api.github.com/repos/graham73may/bolt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/graham73may/bolt/labels{/name}","releases_url":"https://api.github.com/repos/graham73may/bolt/releases{/id}","deployments_url":"https://api.github.com/repos/graham73may/bolt/deployments","created_at":"2016-10-20T09:59:00Z","updated_at":"2016-10-20T09:59:06Z","pushed_at":"2017-02-13T09:11:07Z","git_url":"git://github.com/graham73may/bolt.git","ssh_url":"git@github.com:graham73may/bolt.git","clone_url":"https://github.com/graham73may/bolt.git","svn_url":"https://github.com/graham73may/bolt","homepage":"","size":68884,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"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":"release/3.1"}},"base":{"label":"bolt:release/3.2","ref":"release/3.2","sha":"3b74d6671e860320cf049894da496da1e6c3330e","user":{"login":"bolt","id":3869752,"avatar_url":"https://avatars1.githubusercontent.com/u/3869752?v=3","gravatar_id":"","url":"https://api.github.com/users/bolt","html_url":"https://github.com/bolt","followers_url":"https://api.github.com/users/bolt/followers","following_url":"https://api.github.com/users/bolt/following{/other_user}","gists_url":"https://api.github.com/users/bolt/gists{/gist_id}","starred_url":"https://api.github.com/users/bolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bolt/subscriptions","organizations_url":"https://api.github.com/users/bolt/orgs","repos_url":"https://api.github.com/users/bolt/repos","events_url":"https://api.github.com/users/bolt/events{/privacy}","received_events_url":"https://api.github.com/users/bolt/received_events","type":"Organization","site_admin":false},"repo":{"id":4665416,"name":"bolt","full_name":"bolt/bolt","owner":{"login":"bolt","id":3869752,"avatar_url":"https://avatars1.githubusercontent.com/u/3869752?v=3","gravatar_id":"","url":"https://api.github.com/users/bolt","html_url":"https://github.com/bolt","followers_url":"https://api.github.com/users/bolt/followers","following_url":"https://api.github.com/users/bolt/following{/other_user}","gists_url":"https://api.github.com/users/bolt/gists{/gist_id}","starred_url":"https://api.github.com/users/bolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bolt/subscriptions","organizations_url":"https://api.github.com/users/bolt/orgs","repos_url":"https://api.github.com/users/bolt/repos","events_url":"https://api.github.com/users/bolt/events{/privacy}","received_events_url":"https://api.github.com/users/bolt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bolt/bolt","description":"Bolt is a simple CMS written in PHP. It is based on Silex and Symfony components, uses Twig and either SQLite, MySQL or PostgreSQL.","fork":false,"url":"https://api.github.com/repos/bolt/bolt","forks_url":"https://api.github.com/repos/bolt/bolt/forks","keys_url":"https://api.github.com/repos/bolt/bolt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bolt/bolt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bolt/bolt/teams","hooks_url":"https://api.github.com/repos/bolt/bolt/hooks","issue_events_url":"https://api.github.com/repos/bolt/bolt/issues/events{/number}","events_url":"https://api.github.com/repos/bolt/bolt/events","assignees_url":"https://api.github.com/repos/bolt/bolt/assignees{/user}","branches_url":"https://api.github.com/repos/bolt/bolt/branches{/branch}","tags_url":"https://api.github.com/repos/bolt/bolt/tags","blobs_url":"https://api.github.com/repos/bolt/bolt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bolt/bolt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bolt/bolt/git/refs{/sha}","trees_url":"https://api.github.com/repos/bolt/bolt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bolt/bolt/statuses/{sha}","languages_url":"https://api.github.com/repos/bolt/bolt/languages","stargazers_url":"https://api.github.com/repos/bolt/bolt/stargazers","contributors_url":"https://api.github.com/repos/bolt/bolt/contributors","subscribers_url":"https://api.github.com/repos/bolt/bolt/subscribers","subscription_url":"https://api.github.com/repos/bolt/bolt/subscription","commits_url":"https://api.github.com/repos/bolt/bolt/commits{/sha}","git_commits_url":"https://api.github.com/repos/bolt/bolt/git/commits{/sha}","comments_url":"https://api.github.com/repos/bolt/bolt/comments{/number}","issue_comment_url":"https://api.github.com/repos/bolt/bolt/issues/comments{/number}","contents_url":"https://api.github.com/repos/bolt/bolt/contents/{+path}","compare_url":"https://api.github.com/repos/bolt/bolt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bolt/bolt/merges","archive_url":"https://api.github.com/repos/bolt/bolt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bolt/bolt/downloads","issues_url":"https://api.github.com/repos/bolt/bolt/issues{/number}","pulls_url":"https://api.github.com/repos/bolt/bolt/pulls{/number}","milestones_url":"https://api.github.com/repos/bolt/bolt/milestones{/number}","notifications_url":"https://api.github.com/repos/bolt/bolt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bolt/bolt/labels{/name}","releases_url":"https://api.github.com/repos/bolt/bolt/releases{/id}","deployments_url":"https://api.github.com/repos/bolt/bolt/deployments","created_at":"2012-06-14T16:07:54Z","updated_at":"2017-04-01T13:05:16Z","pushed_at":"2017-04-01T14:42:32Z","git_url":"git://github.com/bolt/bolt.git","ssh_url":"git@github.com:bolt/bolt.git","clone_url":"https://github.com/bolt/bolt.git","svn_url":"https://github.com/bolt/bolt","homepage":"","size":70246,"stargazers_count":3212,"watchers_count":3212,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":714,"mirror_url":null,"open_issues_count":82,"forks":714,"open_issues":82,"watchers":3212,"default_branch":"release/3.2"}},"_links":{"self":{"href":"https://api.github.com/repos/bolt/bolt/pulls/6163"},"html":{"href":"https://github.com/bolt/bolt/pull/6163"},"issue":{"href":"https://api.github.com/repos/bolt/bolt/issues/6163"},"comments":{"href":"https://api.github.com/repos/bolt/bolt/issues/6163/comments"},"review_comments":{"href":"https://api.github.com/repos/bolt/bolt/pulls/6163/comments"},"review_comment":{"href":"https://api.github.com/repos/bolt/bolt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bolt/bolt/pulls/6163/commits"},"statuses":{"href":"https://api.github.com/repos/bolt/bolt/statuses/4586314f4deddf4430e10771a7926fc94eeeace4"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":8,"review_comments":1,"maintainer_can_modify":false,"commits":3,"additions":8,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"GawainLynch"}}