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

Location filters #817

Closed
jamesgorrie opened this issue Aug 25, 2020 · 0 comments
Closed

Location filters #817

jamesgorrie opened this issue Aug 25, 2020 · 0 comments
Assignees
Projects

Comments

@jamesgorrie
Copy link
Contributor

jamesgorrie commented Aug 25, 2020

Add location filters to the API.

Locations

Type Label
OpenShelves Open shelves
ClosedStores Closed stores
DigitalResource Online

We're removing the current locationType(iiif-presentation, iiif-image) and will add filtering on the above locations via the items.locations.type query parameter. e.g. ?items.locations.type=OpenShelves,ClosedStores.

These will be aggregated so available to the frontend with the above labels and counts of how many are in each aggregation the same way we do with workType. e.g.
Screenshot 2020-09-10 at 10 06 30

Note: I've just nabbed the interface with what is live, it will follow whatever filter pattern we have at the time of implementation.

@jamesgorrie jamesgorrie created this issue from a note in Data (In progress) Aug 25, 2020
@jamesgorrie jamesgorrie self-assigned this Aug 25, 2020
@jamesgorrie jamesgorrie moved this from In progress to To do in Data Sep 9, 2020
@jamesgorrie jamesgorrie moved this from To do to Ready for review in Data Sep 23, 2020
Data automation moved this from Ready for review to Done Sep 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Data
  
Done
Development

No branches or pull requests

1 participant