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

Allow non-geo content types to point to source collection #1306

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

thatbudakguy
Copy link
Member

This fixes #1305, which will restore the relations widget in
Earthworks for scanned map content once it is reindexed.

This fixes #1305, which will restore the relations widget in
Earthworks for scanned map content once it is reindexed.
@thatbudakguy thatbudakguy marked this pull request as ready for review January 19, 2024 23:16
@@ -64,6 +64,10 @@ def stub_mods_request(druid, body)
it 'contains date' do
expect(result['solr_year_i']).to eq [1603]
end

it 'contains a reference to the source collection' do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should there be a test for non-geo types?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test is for https://purl.stanford.edu/dc482zx1528, which is a map (not geo).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool. I was confused by this being geo_config_spec.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's fair – geo_config is more accurately "earthworks_config" since it handles a bunch of things that aren't strictly geo.

@jcoyne jcoyne merged commit e0491c8 into main Jan 22, 2024
2 checks passed
@jcoyne jcoyne deleted the scanned-map-source branch January 22, 2024 17:40
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

Successfully merging this pull request may close these issues.

Geo indexer does not generate dc_source_s for scanned maps
2 participants