Skip to content

Commit

Permalink
image_url is no longer available so set it to null
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed Jul 26, 2017
1 parent 35a931f commit 2118949
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,8 @@ public void run() {
display = name + " (" + fileType + ")";
}
String url = item.getString("url");
String imageUrl = item.getString("image_url");
// `image_url` from Search API results no longer yields a downloadable image - https://github.com/IQSS/dataverse/issues/3616
String imageUrl = null; // item.getString("image_url");
searchResults.add(new SearchResult(display, url, imageUrl));
}

Expand Down

0 comments on commit 2118949

Please sign in to comment.