Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define URL parameters approach #30

Open
fdalcin opened this issue Sep 13, 2022 · 0 comments
Open

Define URL parameters approach #30

fdalcin opened this issue Sep 13, 2022 · 0 comments

Comments

@fdalcin
Copy link
Contributor

fdalcin commented Sep 13, 2022

As a developer I'd like to define a final standardized way to use/apply filters on the catalog.

Right now each filter uses its own way to be rendered and queried, e.g.:

  • Licenses display the name and use a "slugged" version when applying the filter so the URL looks like this licenses[]=all-rights-reserved&licenses[]=cc-by
  • Subjects display the name and use the Thema code when applying the filter so the URL looks like this subjects[]=JNR&subjects[]=L
  • Institutions display the name and use the actual name when applying the filter so the URL looks like this institutions[]=Ontario+Tech+University&institutions[]=Université+de+l’Ontario+français
  • Publishers display the name and use the actual name when applying the filter so the URL looks like this publishers[]=Press+Books

Definition of done

We have defined and implemented a standardized way to apply filters using either a slug, id/code, or the actual name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant