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

Locations management #1182

Open
ajkiessl opened this issue May 9, 2023 · 1 comment
Open

Locations management #1182

ajkiessl opened this issue May 9, 2023 · 1 comment

Comments

@ajkiessl
Copy link
Contributor

ajkiessl commented May 9, 2023

Locations are currently being used to populate the location dropdown in the advanced search, and the location display in the availability. We are able to pull location codes and descriptions from Symphony, however, the descriptions are abbreviated or sometimes incorrect (among other issues). The data will need to be curated by and admin.

We would like to have a single place to store locations from Symphony and allow an admin to edit them.

Potential solution:

  • Create data model called Locations with code, symphony_description, and preferred_description attributes
  • Create a script to import Symphony codes and descriptions to regularly import this data
  • Create a basic CRUD interface behind admin authentication that displays the Symphony code and description and allows the user to update the preferred description. We potentially will also want to allow the user to add a location.
  • Alter availability and advanced search location logic to pull from this data

This solution stems from these issues: psu-libraries/psulib_traject#267 #425

@ajkiessl
Copy link
Contributor Author

ajkiessl commented May 9, 2023

Also, here's a script in traject for pulling locations from Symphony: https://github.com/psu-libraries/psulib_traject/pull/470/files . That code can be deleted once this issue is complete.

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