usnistgov / oar-pdr

The NIST Open Access to Research (OAR) Public Data Repository (PDR) system software
11 stars 10 forks source link

Odd 786 resources by authors #107

Closed chuanlin2018 closed 4 years ago

chuanlin2018 commented 4 years ago

http://mml.nist.gov:8080/browse/ODD-786

This is the fix of PDR side. We need to use ASCII encoding of "&" and "=" in the request URL so SDP side can parse the parameters correctly.

There are multiple places that spaces were removed. That was done automatically when I refreshed the code. You can ignore them. The part I changed was at the end of the file.

RayPlante commented 4 years ago

Note: this builds on PR #106 (which itself builds on #105); don't merge until those others have been reviewed and merged.

chuanlin2018 commented 4 years ago

This is the URL pdr sent to sdp when I test locally: https://data.nist.gov/sdp//#/search?q=authors.familyName%3DGarboczi,%26logicalOp%3DOR%26contactPoint.fn%3DZachary%20Levine&key=&queryAdvSearch=yes

Appeared to be working for me...