Skip to content
This repository was archived by the owner on Sep 19, 2024. It is now read-only.

Commit e18b9c9

Browse files
committed
Add afterPDS=true to import URL
1 parent 9ac725c commit e18b9c9

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/edu/umn/lib/primo/pushto/PushToMendeleyRequest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ public String getImportUrl() throws UnsupportedEncodingException {
4343
.append(this.vid)
4444
.append("&fromMendeley=true")
4545
.append("&fromSitemap=1")
46+
.append("&afterPDS=true")
4647
.toString();
4748
return IMPORT_BASE_URL + URLEncoder.encode(callbackUrl, CharEncoding.UTF_8);
4849
}

src/test/java/edu/umn/lib/primo/pushto/MendeleyProcessTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ private String getMendeleyRedirectUrl() throws UnsupportedEncodingException {
133133
.append(VID)
134134
.append("&fromMendeley=true")
135135
.append("&fromSitemap=1")
136+
.append("&afterPDS=true")
136137
.toString();
137138
String expectedUrl = IMPORT_URL + URLEncoder.encode(callbackUrl, "utf-8");
138139
return expectedUrl;

0 commit comments

Comments
 (0)