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

Search all images in occurrence for preferred image #251

Merged
merged 9 commits into from
Oct 7, 2021

Conversation

charvolant
Copy link
Contributor

See #250

Search across all images in a record, rather than just the first image.
Include https: in default service URLs
Include default imageServiceBaseUrl and match case across plugins
@charvolant charvolant requested a review from Rita-C July 6, 2021 02:04
Copy link
Contributor

@Rita-C Rita-C left a comment

Choose a reason for hiding this comment

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

Looks good to me, @charvolant .

I suppose you're going to update ansible templete for imageServiceBaseUrl?

@charvolant charvolant merged commit 2fbf393 into AtlasOfLivingAustralia:develop Oct 7, 2021
@@ -502,10 +502,10 @@ function loadOverviewImages(){
if (SHOW_CONF.preferredImageId) {
hasPreferredImage = true;
var prefUrl = SHOW_CONF.biocacheServiceUrl +
'/occurrences/search.json?q=image_url:' + SHOW_CONF.preferredImageId +
'/occurrences/search.json?q=images:' + SHOW_CONF.preferredImageId +
Copy link
Contributor

Choose a reason for hiding this comment

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

That's not a ideal change from biocache.

Copy link
Contributor

@Rita-C Rita-C left a comment

Choose a reason for hiding this comment

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

PR already merged

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.

None yet

3 participants