{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/8633","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/8633/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/8633/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/8633/events","html_url":"https://github.com/joomla/joomla-cms/pull/8633","id":121273220,"number":8633,"title":"Modal category searchtools optimization","user":{"login":"panopt","id":16225234,"avatar_url":"https://avatars.githubusercontent.com/u/16225234?v=3","gravatar_id":"","url":"https://api.github.com/users/panopt","html_url":"https://github.com/panopt","followers_url":"https://api.github.com/users/panopt/followers","following_url":"https://api.github.com/users/panopt/following{/other_user}","gists_url":"https://api.github.com/users/panopt/gists{/gist_id}","starred_url":"https://api.github.com/users/panopt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/panopt/subscriptions","organizations_url":"https://api.github.com/users/panopt/orgs","repos_url":"https://api.github.com/users/panopt/repos","events_url":"https://api.github.com/users/panopt/events{/privacy}","received_events_url":"https://api.github.com/users/panopt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-staging","name":"PR-staging","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2015-12-09T15:39:32Z","updated_at":"2015-12-23T13:59:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/8633","html_url":"https://github.com/joomla/joomla-cms/pull/8633","diff_url":"https://github.com/joomla/joomla-cms/pull/8633.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/8633.patch"},"body":"Bring up **all relevant filters** to the **modal category field**.\r\nThe template code is simplified while enjoying the factorization of **JLayoutHelper**.\r\n\r\n![category_modal_exemple-01](https://cloud.githubusercontent.com/assets/16225234/11690931/25a51678-9e99-11e5-9936-d4149d67cb9f.png)\r\n\r\n## Testing\r\n\r\nTo test the modal category field ( you can do what is indicated at #8185; listed below ) :\r\n\r\n1. Change the file :\r\n*administrator/components/com_content/models/forms/article.xml*\r\n45 - : `<field name=\"catid\" type=\"categoryedit\"`\r\n45 + : `<field name=\"catid\" type=\"modal_category\"`\r\n\r\n2. open an article to use the field : \r\n![category_modal_exemple-on-article-01](https://cloud.githubusercontent.com/assets/16225234/11690876/efc8394a-9e98-11e5-9292-af92a7f3b1c9.png)\r\n"},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/166901234","html_url":"https://github.com/joomla/joomla-cms/pull/8633#issuecomment-166901234","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/8633","id":166901234,"user":{"login":"panopt","id":16225234,"avatar_url":"https://avatars.githubusercontent.com/u/16225234?v=3","gravatar_id":"","url":"https://api.github.com/users/panopt","html_url":"https://github.com/panopt","followers_url":"https://api.github.com/users/panopt/followers","following_url":"https://api.github.com/users/panopt/following{/other_user}","gists_url":"https://api.github.com/users/panopt/gists{/gist_id}","starred_url":"https://api.github.com/users/panopt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/panopt/subscriptions","organizations_url":"https://api.github.com/users/panopt/orgs","repos_url":"https://api.github.com/users/panopt/repos","events_url":"https://api.github.com/users/panopt/events{/privacy}","received_events_url":"https://api.github.com/users/panopt/received_events","type":"User","site_admin":false},"created_at":"2015-12-23T13:59:19Z","updated_at":"2015-12-23T13:59:19Z","body":"Thanks you,\r\n\r\n'Language' and 'Id' (th) tooltips are truncated when placed on top :\r\n![tooltip-truncated](https://cloud.githubusercontent.com/assets/16225234/11977259/65b8b22c-a981-11e5-9b2b-8ad0e101d034.png)\r\n\r\nwe must add them a class\r\n```html\r\n<th ... class=\"nowrap hidden-phone tooltipBottom\">\r\n````\r\nthen\r\n```php\r\nJHtml::_('bootstrap.tooltip',\r\n   '.filter .hasTooltip, .tooltipBottom .hasTooltip', \r\n   array('placement' => 'bottom')\r\n);\r\n```\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"}}