Skip to content

Commit

Permalink
Restore accidental change
Browse files Browse the repository at this point in the history
  • Loading branch information
olovy committed Oct 29, 2024
1 parent d0d8d5a commit 3ca71a9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions oaipmh/src/main/java/whelk/export/servlet/Helpers.java
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,10 @@ else if (updatedCollection.equals("auth"))
{
String type = updated.getThingType();


if (requestedCollection.equals("auth") &&
(type == null || !OaiPmh.workDerivativeTypes.contains(type))) {
(type == null || !OaiPmh.workDerivativeTypes.contains(type)))
queueDocument(updated);
}

if (includeDependenciesInTimeInterval && (requestedCollection.equals("bib") || requestedCollection.equals("hold")) && hasCardChanged(updated))
{
List<Tuple2<String, String>> dependers = OaiPmh.s_whelk.getStorage().followDependers(updated.getShortId(), JsonLd.NON_DEPENDANT_RELATIONS);
Expand Down

0 comments on commit 3ca71a9

Please sign in to comment.