Skip to content

Commit

Permalink
OpenConceptLab/ocl_issues#1068 | ICD-11 fhir connector | using hapi c…
Browse files Browse the repository at this point in the history
…onfiguration for navigations
  • Loading branch information
snyaggarwal committed Dec 1, 2021
1 parent 13a329c commit 60c9ebf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/common/serverConfigs.js
Expand Up @@ -111,7 +111,7 @@ export const SERVER_CONFIGS = [
id: 12,
name: 'ICD 11',
type: 'fhir',
hapi: false,
hapi: true,
url: 'https://icdapitest2.azurewebsites.net',
info: {
baseURI: '/fhir/',
Expand Down
10 changes: 4 additions & 6 deletions src/components/fhir/FhirTabs.jsx
Expand Up @@ -38,13 +38,11 @@ const FhirTabs = ({
sortParams: {sortAsc: '_id'}
}}
fhirParams={paginationParams ? paginationParams : {
_getpagesoffset: 0,
_count: limit || DEFAULT_LIMIT,
_sort: '_id'
_getpagesoffset: 0,
_count: limit || DEFAULT_LIMIT,
_sort: '_id'
}}
staticParams={ hapi ? {
_total: 'accurate',
} : {}}
staticParams={ paginationParams ? {} : {_total: 'accurate'}}
noQuery
noHeaders
nested
Expand Down

0 comments on commit 60c9ebf

Please sign in to comment.