Compare commits
2 Commits
823ed25c44
...
3aa1503163
Author | SHA1 | Date |
---|---|---|
Alan Orth | 3aa1503163 | |
Alan Orth | 26597e2f8f |
|
@ -19,7 +19,7 @@ import java.util.List;
|
|||
/**
|
||||
* @author Andrea Schweer schweer@waikato.ac.nz for the LCoNZ Institutional Research Repositories
|
||||
* @author Alan Orth for the International Livestock Research Institute
|
||||
* @version 6.0
|
||||
* @version 6.1
|
||||
* @since 5.1
|
||||
*/
|
||||
public class FixJpgJpgThumbnails {
|
||||
|
@ -84,7 +84,7 @@ public class FixJpgJpgThumbnails {
|
|||
private static void processItem(Context context, Item item) throws SQLException, AuthorizeException, IOException {
|
||||
// Some bitstreams like Infographics are large JPGs and put in the ORIGINAL bundle on purpose so we shouldn't
|
||||
// swap them.
|
||||
List<MetadataValue> itemTypes = itemService.getMetadataByMetadataString(item, "dc.type");
|
||||
List<MetadataValue> itemTypes = itemService.getMetadataByMetadataString(item, "dcterms.type");
|
||||
boolean itemHasInfographic = false;
|
||||
for (MetadataValue itemType: itemTypes) {
|
||||
if (itemType.getValue().equals("Infographic")) {
|
||||
|
|
Loading…
Reference in New Issue