Skip to content

Commit

Permalink
chore: update base API url in search calls
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanoshadjipetrou committed Sep 19, 2024
1 parent 494a83c commit ba393a0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/config/mapping/globalsearch/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "Location(s)",
"type": "Country",
"link": "/location/<code>/overview",
"url": "https://api-gf-api-gf-02.azurewebsites.net/v4/odata/Grants?$apply=filter(<filterStr>)/groupby((geography/code,geography/name),aggregate(id with countdistinct as count))",
"url": "https://fetch.theglobalfund.org/v4/odata/Grants?$apply=filter(<filterStr>)/groupby((geography/code,geography/name),aggregate(id with countdistinct as count))",
"itemname": "",
"filterFields": [
"geography/code",
Expand All @@ -28,7 +28,7 @@
"name": "Grant(s)",
"type": "Grant",
"link": "/grant/<code>",
"url": "https://api-gf-api-gf-02.azurewebsites.net/v4/odata/Grants?$select=code,status&$expand=status(select=statusName)&$filter=(<filterStr>)&$orderby=status/statusName asc",
"url": "https://fetch.theglobalfund.org/v4/odata/Grants?$select=code,status&$expand=status(select=statusName)&$filter=(<filterStr>)&$orderby=status/statusName asc",
"itemname": "<code>",
"filterFields": [
"geography/code",
Expand Down Expand Up @@ -57,7 +57,7 @@
"name": "Partner(s)",
"type": "Partner",
"link": "",
"url": "https://api-gf-api-gf-02.azurewebsites.net/v4/odata/Grants?$apply=filter(<filterStr>)/groupby((principalRecipient/id,principalRecipient/name,principalRecipient/shortName),aggregate(id with countdistinct as count))",
"url": "https://fetch.theglobalfund.org/v4/odata/Grants?$apply=filter(<filterStr>)/groupby((principalRecipient/id,principalRecipient/name,principalRecipient/shortName),aggregate(id with countdistinct as count))",
"itemname": "<shortName&longName>",
"filterFields": [
"geography/code",
Expand Down Expand Up @@ -101,7 +101,7 @@
"name": "Result(s)",
"type": "Result",
"link": "",
"url": "https://api-gf-api-gf-02.azurewebsites.net/v4/odata/allProgrammaticIndicators?$apply=filter(<filterStr> AND programmaticDataset eq 'Annual_Results')/groupby((indicatorName,recordId),aggregate(resultValueNumerator with sum as value))",
"url": "https://fetch.theglobalfund.org/v4/odata/allProgrammaticIndicators?$apply=filter(<filterStr> AND programmaticDataset eq 'Annual_Results')/groupby((indicatorName,recordId),aggregate(resultValueNumerator with sum as value))",
"itemname": "",
"filterFields": [
"geography/code",
Expand Down

0 comments on commit ba393a0

Please sign in to comment.