justarrived / just-match-web

JustMatch Web
https://app.justarrived.se
5 stars 1 forks source link

Use the same filter when fetching jobs on start/listing page #392

Closed buren closed 7 years ago

buren commented 7 years ago

We use different filter options when fetching jobs on the start page vs the jobs index page.

Startpage:

https://api.justarrived.se/api/v1/jobs?
  include=company,hourly_pay,company.company_images&
  sort=job_date&
  page%5Bsize%5D=4&

Jobs index page:

https://api.justarrived.se/api/v1/jobs?
  include=company,hourly_pay,company.company_images&
  filter%5Bfilled%5D=false&
  filter%5Bjob_date%5D=20170320..20180315&
  sort=job_date&
  page%5Bnumber%5D=1

Could potentially by confusing for the user.

ℹ️ The jobs index page URL is the correct one since it filters relevant jobs on date

bex1 commented 7 years ago

👍 fixed