1
0
Fork 0

Fix for paginationStart parameter management

This commit is contained in:
Giambattista Bloisi 2024-06-11 20:23:44 +02:00
parent 11fe3a4fe0
commit d90cb099b8
1 changed files with 2 additions and 1 deletions

View File

@ -249,7 +249,8 @@ public class RestIterator implements Iterator<String> {
String[] pageVal = m.group(0).split("="); String[] pageVal = m.group(0).split("=");
pagination = Integer.parseInt(pageVal[1]); pagination = Integer.parseInt(pageVal[1]);
// remove page start number from queryParams // remove page start number from query and queryParams
queryParams = queryParams.replaceFirst("&?paginationStart=[0-9]+", "");
query = query.replaceFirst("&?paginationStart=[0-9]+", ""); query = query.replaceFirst("&?paginationStart=[0-9]+", "");
} }