{"action":"created","issue":{"url":"https://api.github.com/repos/goodjoblife/GoodJobShare/issues/542","repository_url":"https://api.github.com/repos/goodjoblife/GoodJobShare","labels_url":"https://api.github.com/repos/goodjoblife/GoodJobShare/issues/542/labels{/name}","comments_url":"https://api.github.com/repos/goodjoblife/GoodJobShare/issues/542/comments","events_url":"https://api.github.com/repos/goodjoblife/GoodJobShare/issues/542/events","html_url":"https://github.com/goodjoblife/GoodJobShare/issues/542","id":336299819,"node_id":"MDU6SXNzdWUzMzYyOTk4MTk=","number":542,"title":"薪資工時查詢頁 routing 修改","user":{"login":"barry800414","id":3805975,"node_id":"MDQ6VXNlcjM4MDU5NzU=","avatar_url":"https://avatars1.githubusercontent.com/u/3805975?v=4","gravatar_id":"","url":"https://api.github.com/users/barry800414","html_url":"https://github.com/barry800414","followers_url":"https://api.github.com/users/barry800414/followers","following_url":"https://api.github.com/users/barry800414/following{/other_user}","gists_url":"https://api.github.com/users/barry800414/gists{/gist_id}","starred_url":"https://api.github.com/users/barry800414/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barry800414/subscriptions","organizations_url":"https://api.github.com/users/barry800414/orgs","repos_url":"https://api.github.com/users/barry800414/repos","events_url":"https://api.github.com/users/barry800414/events{/privacy}","received_events_url":"https://api.github.com/users/barry800414/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-27T16:23:23Z","updated_at":"2018-09-27T03:04:18Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"| 參數  | query 參數名稱 |  |\r\n|---|---|---|\r\n| 分頁  | p  | integer（從1開始） |\r\n| 排序依據  | sort  | `created_at`, `estimated_hourly_wage`, `week_work_time` |\r\n| 排序順序 | order | `descending`, `ascending` | \r\n| 搜尋種類  | s_by | `company`, `job_title` |\r\n| 搜尋關鍵字 | q | string |\r\n\r\n沒有下關鍵字： 不會有 `s_by`, `q`\r\nE.g. ?p=1&sort=created_at&order=descending\r\n\r\n有下關鍵字： 不會有 `sort`=`created_at`\r\nE.g. ?sort=week_work_time&order=descending&s_by=company&q=ooo_comapny\r\n\r\n基本上是跟經驗分享差不多的路徑設計\r\n\r\n\r\n記得要把原本的 route redirect 到新的 route：\r\n\r\n| 原路徑  | 參數 |  \r\n|---|---|\r\n| /time-and-salary/latest | { sort: created_at, order=descending }  |\r\n| /time-and-salary/sort/time-asc | { sort: created_at, order=ascending } |\r\n| /time-and-salary/work-time-dashboard | { sort: week_work_time, order=descending }  |\r\n| /time-and-salary/sort/work-time-asc | { sort: week_work_time, order=ascending }  |\r\n| /time-and-salary/salary-dashboard | { sort: estimated_hourly_wage, order=descending }  |\r\n| /time-and-salary/sort/salary-asc | { sort: estimated_hourly_wage, order=ascending }  | \r\n| /time-and-salary/company/:keyword/work-time-dashboard | { sort=week_work_time, order=descending, s_by=company, q = keyword } |\r\n| /time-and-salary/company/:keyword/sort/work-time-asc | { sort=week_work_time, order=ascending, s_by=company, q = keyword } |\r\n| /time-and-salary/company/:keyword/salary-dashboard | { sort=estimated_hourly_wage, order=descending, s_by=company, q = keyword } |\r\n| /time-and-salary/company/:keyword/sort/salary-asc | { sort=estimated_hourly_wage, order=ascending, s_by=company, q = keyword } |\r\n| /time-and-salary/job-title/:keyword/work-time-dashboard | { sort=week_work_time, order=descending, s_by=job_title, q = keyword } |\r\n| /time-and-salary/job-title/:keyword/sort/work-time-asc | { sort=week_work_time, order=ascending, s_by=job_title, q = keyword } |\r\n| /time-and-salary/job-title/:keyword/salary-dashboard | { sort=estimated_hourly_wage, order=descending, s_by=job_title, q = keyword } |\r\n| /time-and-salary/job-title/:keyword/sort/salary-asc | { sort=estimated_hourly_wage, order=ascending, s_by=job_title, q = keyword } |\r\n"},"comment":{"url":"https://api.github.com/repos/goodjoblife/GoodJobShare/issues/comments/424942948","html_url":"https://github.com/goodjoblife/GoodJobShare/issues/542#issuecomment-424942948","issue_url":"https://api.github.com/repos/goodjoblife/GoodJobShare/issues/542","id":424942948,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDk0Mjk0OA==","user":{"login":"barry800414","id":3805975,"node_id":"MDQ6VXNlcjM4MDU5NzU=","avatar_url":"https://avatars1.githubusercontent.com/u/3805975?v=4","gravatar_id":"","url":"https://api.github.com/users/barry800414","html_url":"https://github.com/barry800414","followers_url":"https://api.github.com/users/barry800414/followers","following_url":"https://api.github.com/users/barry800414/following{/other_user}","gists_url":"https://api.github.com/users/barry800414/gists{/gist_id}","starred_url":"https://api.github.com/users/barry800414/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barry800414/subscriptions","organizations_url":"https://api.github.com/users/barry800414/orgs","repos_url":"https://api.github.com/users/barry800414/repos","events_url":"https://api.github.com/users/barry800414/events{/privacy}","received_events_url":"https://api.github.com/users/barry800414/received_events","type":"User","site_admin":false},"created_at":"2018-09-27T03:04:18Z","updated_at":"2018-09-27T03:04:18Z","author_association":"CONTRIBUTOR","body":"這個週六會討論到\r\n我會提網站的大改版，如果大家覺得沒問題的話，這個 issue 就不需要了"}}
{"actor":{"display_login":"barry800414"}}