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

Fix source_completeness field display and filtering behaviour #1666

Merged
merged 9 commits into from
Oct 18, 2024

Conversation

dchiller
Copy link
Contributor

@dchiller dchiller commented Oct 15, 2024

This PR:

  • Adjust options for Source.source_completeness field to "Full source", "Fragment", and "Reconstruction" and display of Source.complete_inventory boolean to True = "Full inventory" and False = "Partial inventory".
  • Modifies the populate_source_completeness command to mark as a "Full source" sources where full_source field was None.
  • Updates the source list view to use source_completeness field (rather than full_source field) for filtering by Full source/fragment.
  • Add "Norway" and it's RISM code to the migrate_records command.
  • Show's "[No City]" on the institution list and detail pages if the institution has no city.
  • Modifies the Institution Detail page template to show source colloquial names and changes the name of the Bower database)

Closes #1665. Closes #1667.

Closes #1607 and moves part of that issue (consistently drawing from the Segment model or the names of segments on the front-end) to a new issue #1668 to be completed as part of our upcoming Segment overhaul.

Adjust options for Source.source_completeness field to "Full source", "Fragment", and "Reconstruction".

Adjust display for Source.complete_inventory boolean to `True` = "Full inventory" and `False` = "Partial inventory".
…ompleteness = "Full Source"

Sources where `full_source` was `None` are now mapped by the `populate_source_completeness` command to `source_completeness` = "Full source".

Updates `make_fake_source` to use `source_completeness` field.

Updates test of `populate_source_completeness` field.
@dchiller dchiller force-pushed the i1665-source-completeness-fix branch from 428c2d7 to 732264f Compare October 15, 2024 17:51
Change hardcoded name for Bower segment sources. This will be modified as part of our segment overhaul (see DDMAL#1668)
@dchiller dchiller force-pushed the i1665-source-completeness-fix branch from 732264f to 147c0f4 Compare October 15, 2024 19:20
@dchiller dchiller merged commit ff69093 into DDMAL:develop Oct 18, 2024
1 check passed
@dchiller dchiller deleted the i1665-source-completeness-fix branch October 18, 2024 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants