From 5eb3d7e6c9bee2e84196dd9f00d3445dcb1088cd Mon Sep 17 00:00:00 2001
From: Maximilian Behnert-Brodhun <behnert-brodhun@sub.uni-goettingen.de>
Date: Fri, 12 Nov 2021 19:21:10 +0100
Subject: [PATCH] correction in restoken request for list in idiomImages. First
 page was doubled

---
 .../src/main/java/info/textgrid/middleware/IDIOMImages.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/oaipmh-core/src/main/java/info/textgrid/middleware/IDIOMImages.java b/oaipmh-core/src/main/java/info/textgrid/middleware/IDIOMImages.java
index 1409a76c..f16f4286 100644
--- a/oaipmh-core/src/main/java/info/textgrid/middleware/IDIOMImages.java
+++ b/oaipmh-core/src/main/java/info/textgrid/middleware/IDIOMImages.java
@@ -225,7 +225,7 @@ public class IDIOMImages implements RecordDelivererInterface, RecordListDelivere
             resTokenForResponse.setCompleteListSize(BigInteger.valueOf(completeListSize));
             resTokenForResponse.setCursor(BigInteger.valueOf(100));
             resTokenForResponse.setValue(resTokenValue);
-            cursorCollector.put(resTokenValue, 1);
+            cursorCollector.put(resTokenValue, 2);
             fromUntilCollector.put(resTokenValue, from + ":" + until);
         }
         return resTokenForResponse;
-- 
GitLab