diff options
author | alexwl <alexey.a.kiryushin@gmail.com> | 2019-02-06 21:42:29 +0300 |
---|---|---|
committer | alexwl <alexey.a.kiryushin@gmail.com> | 2019-02-06 21:42:29 +0300 |
commit | d6a64db1ced3d3577886a7aec140a5174cbceb48 (patch) | |
tree | 88a6535043547da7093c126df642770533a4ab71 /javascript/app/utils | |
parent | b796d370c6b7ec7452a37440b089fd45853a47f4 (diff) |
Add identifier search in all indexed packages
Diffstat (limited to 'javascript/app/utils')
-rw-r--r-- | javascript/app/utils/api-urls.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/javascript/app/utils/api-urls.js b/javascript/app/utils/api-urls.js index 2eb2e7c..da8fdcb 100644 --- a/javascript/app/utils/api-urls.js +++ b/javascript/app/utils/api-urls.js @@ -28,5 +28,8 @@ export const urls = { }, globalReferencesUrl : function (externalId) { return config.APP.apiUrlPrefix + "/globalReferences/"+encodeURIComponent(externalId); + }, + globalIdentifiersUrl : function (query) { + return config.APP.apiUrlPrefix + "/globalIdentifiers/"+encodeURIComponent(query).replace(/\./g, '%2E'); } } |