{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/19925","repository_url":"https://api.github.com/repos/joomla/joomla-cms","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/19925/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/19925/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/19925/events","html_url":"https://github.com/joomla/joomla-cms/pull/19925","id":305924247,"number":19925,"title":"plg_search_content. Use getter method to identify $serverType","user":{"login":"ReLater","id":20780646,"avatar_url":"https://avatars2.githubusercontent.com/u/20780646?v=4","gravatar_id":"","url":"https://api.github.com/users/ReLater","html_url":"https://github.com/ReLater","followers_url":"https://api.github.com/users/ReLater/followers","following_url":"https://api.github.com/users/ReLater/following{/other_user}","gists_url":"https://api.github.com/users/ReLater/gists{/gist_id}","starred_url":"https://api.github.com/users/ReLater/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReLater/subscriptions","organizations_url":"https://api.github.com/users/ReLater/orgs","repos_url":"https://api.github.com/users/ReLater/repos","events_url":"https://api.github.com/users/ReLater/events{/privacy}","received_events_url":"https://api.github.com/users/ReLater/received_events","type":"User","site_admin":false},"labels":[{"id":60721348,"url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-staging","name":"PR-staging","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-16T13:17:52Z","updated_at":"2018-03-17T07:37:26Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/19925","html_url":"https://github.com/joomla/joomla-cms/pull/19925","diff_url":"https://github.com/joomla/joomla-cms/pull/19925.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/19925.patch"},"body":"### Summary of Changes\r\n- `$db->serverType` is not reliably populated always. So, use `$db->getServerType()` instead.\r\n\r\n### Testing Instructions\r\n- Apply patch in current staging and see that nothing changes in com_search search results in frontend with activated plugin.\r\n\r\n- See also comment of @mbabker https://github.com/joomla/joomla-cms/issues/19317#issuecomment-355795404\r\n\r\n### Additional comment\r\n**- At the latest in Joomla 4 the code must be changed accordingly.**"},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/373901220","html_url":"https://github.com/joomla/joomla-cms/pull/19925#issuecomment-373901220","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/19925","id":373901220,"user":{"login":"alikon","id":181681,"avatar_url":"https://avatars0.githubusercontent.com/u/181681?v=4","gravatar_id":"","url":"https://api.github.com/users/alikon","html_url":"https://github.com/alikon","followers_url":"https://api.github.com/users/alikon/followers","following_url":"https://api.github.com/users/alikon/following{/other_user}","gists_url":"https://api.github.com/users/alikon/gists{/gist_id}","starred_url":"https://api.github.com/users/alikon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alikon/subscriptions","organizations_url":"https://api.github.com/users/alikon/orgs","repos_url":"https://api.github.com/users/alikon/repos","events_url":"https://api.github.com/users/alikon/events{/privacy}","received_events_url":"https://api.github.com/users/alikon/received_events","type":"User","site_admin":false},"created_at":"2018-03-17T07:37:26Z","updated_at":"2018-03-17T07:37:26Z","author_association":"CONTRIBUTOR","body":"I have tested this item :white_check_mark: successfully on 74700994ed25fa03f28f0cf8d66f16af02c249ee<hr /><sub>This comment was created with the <a href=\"https://github.com/joomla/jissues\">J!Tracker Application</a> at <a href=\"https://issues.joomla.org/tracker/joomla-cms/19925\">issues.joomla.org/tracker/joomla-cms/19925</a>.</sub>"}}
{"actor":{"display_login":"alikon"}}