{"action":"created","issue":{"url":"https://api.github.com/repos/project-hatohol/hatohol/issues/2118","repository_url":"https://api.github.com/repos/project-hatohol/hatohol","labels_url":"https://api.github.com/repos/project-hatohol/hatohol/issues/2118/labels{/name}","comments_url":"https://api.github.com/repos/project-hatohol/hatohol/issues/2118/comments","events_url":"https://api.github.com/repos/project-hatohol/hatohol/issues/2118/events","html_url":"https://github.com/project-hatohol/hatohol/issues/2118","id":137783463,"number":2118,"title":"サーバーまたぎのトリガーのフィルタの相談","user":{"login":"cosmo0920","id":700876,"avatar_url":"https://avatars.githubusercontent.com/u/700876?v=3","gravatar_id":"","url":"https://api.github.com/users/cosmo0920","html_url":"https://github.com/cosmo0920","followers_url":"https://api.github.com/users/cosmo0920/followers","following_url":"https://api.github.com/users/cosmo0920/following{/other_user}","gists_url":"https://api.github.com/users/cosmo0920/gists{/gist_id}","starred_url":"https://api.github.com/users/cosmo0920/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cosmo0920/subscriptions","organizations_url":"https://api.github.com/users/cosmo0920/orgs","repos_url":"https://api.github.com/users/cosmo0920/repos","events_url":"https://api.github.com/users/cosmo0920/events{/privacy}","received_events_url":"https://api.github.com/users/cosmo0920/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/project-hatohol/hatohol/labels/WebUI","name":"WebUI","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"cosmo0920","id":700876,"avatar_url":"https://avatars.githubusercontent.com/u/700876?v=3","gravatar_id":"","url":"https://api.github.com/users/cosmo0920","html_url":"https://github.com/cosmo0920","followers_url":"https://api.github.com/users/cosmo0920/followers","following_url":"https://api.github.com/users/cosmo0920/following{/other_user}","gists_url":"https://api.github.com/users/cosmo0920/gists{/gist_id}","starred_url":"https://api.github.com/users/cosmo0920/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cosmo0920/subscriptions","organizations_url":"https://api.github.com/users/cosmo0920/orgs","repos_url":"https://api.github.com/users/cosmo0920/repos","events_url":"https://api.github.com/users/cosmo0920/events{/privacy}","received_events_url":"https://api.github.com/users/cosmo0920/received_events","type":"User","site_admin":false},"milestone":null,"comments":17,"created_at":"2016-03-02T06:08:49Z","updated_at":"2016-03-16T01:08:17Z","closed_at":null,"body":"サーバーまたぎのフィルタ条件とWebUIの挙動をどうするかの相談です。\r\n\r\n#2114 ではトリガーのホスト名に関してのサーバーまたぎのフィルタを追加しました。\r\nこのプルリクエストの時点ではホスト名はいつでも選べ、ホストIDに対してANDで絞り込まれます。\r\n\r\n1. WebUI側でホストIDとホスト名の選択を排他にする。サーバー側は何もしない\r\n2. ホストIDとホスト名をANDではなくORで絞り込むようにする。WebUI側は何もしない\r\n\r\nの二通りの実装パターンを考えています。\r\n\r\nどちらの実装の方がより思い描いていたものに近いでしょうか？"},"comment":{"url":"https://api.github.com/repos/project-hatohol/hatohol/issues/comments/197093263","html_url":"https://github.com/project-hatohol/hatohol/issues/2118#issuecomment-197093263","issue_url":"https://api.github.com/repos/project-hatohol/hatohol/issues/2118","id":197093263,"user":{"login":"cosmo0920","id":700876,"avatar_url":"https://avatars.githubusercontent.com/u/700876?v=3","gravatar_id":"","url":"https://api.github.com/users/cosmo0920","html_url":"https://github.com/cosmo0920","followers_url":"https://api.github.com/users/cosmo0920/followers","following_url":"https://api.github.com/users/cosmo0920/following{/other_user}","gists_url":"https://api.github.com/users/cosmo0920/gists{/gist_id}","starred_url":"https://api.github.com/users/cosmo0920/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cosmo0920/subscriptions","organizations_url":"https://api.github.com/users/cosmo0920/orgs","repos_url":"https://api.github.com/users/cosmo0920/repos","events_url":"https://api.github.com/users/cosmo0920/events{/privacy}","received_events_url":"https://api.github.com/users/cosmo0920/received_events","type":"User","site_admin":false},"created_at":"2016-03-16T01:08:17Z","updated_at":"2016-03-16T01:08:17Z","body":"https://github.com/project-hatohol/hatohol/pull/2173 ではbootstrap-selectでWebUI側ではライブサーチを効かせつつ、サーバー側では完全一致の検索に留めています。"}}