Skip to content

Commit 0d3fb4f

Browse files
Merge pull request #241 from costateixeira/master
fix linux docker, increase tx search page lengths
2 parents ee2abf6 + 0fd0064 commit 0d3fb4f

File tree

5 files changed

+4
-2
lines changed

5 files changed

+4
-2
lines changed

.gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Force LF line endings for all shell scripts
2+
*.sh text eol=lf

exec/pack/linux/get-openssl.sh

100644100755
File mode changed.

exec/pack/linux/install.sh

100644100755
File mode changed.

exec/pack/linux/start.sh

100644100755
File mode changed.

server/endpoint_txsvr.pas

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ interface
5757

5858
const
5959
TX_SEARCH_PAGE_DEFAULT = 10;
60-
TX_SEARCH_PAGE_LIMIT = 20;
60+
TX_SEARCH_PAGE_LIMIT = 200;
6161

6262
type
6363
TTerminologyServerEndPoint = class;
@@ -703,7 +703,7 @@ procedure TTerminologyServerOperationEngine.ExecuteSearch(request: TFHIRRequest;
703703
FEngine := context.ServerFactory.makeEngine(context.ValidatorContext.Link, TUcumServiceImplementation.Create(context.TerminologyServer.CommonTerminologies.Ucum.link));
704704

705705
offset := 0;
706-
count := 50;
706+
count := TX_SEARCH_PAGE_DEFAULT;
707707
defCount := true;
708708
for i := 0 to request.Parameters.Count - 1 do
709709
if request.Parameters.Name[i] = SEARCH_PARAM_NAME_OFFSET then

0 commit comments

Comments
 (0)