Skip to content

Commit 657d7e9

Browse files
author
Grahame Grieve
committed
remove duplicate _count in search links
1 parent cadbd94 commit 657d7e9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

server/search_base.pas

+5-2
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,11 @@ function TSearchParser.buildUrl(base : String; search: TFslList<TSearchParameter
256256
b.append('?');
257257
for sp in search do
258258
begin
259-
b.Append('&');
260-
sp.build(b);
259+
if not (sp.control in [scpCount]) then
260+
begin
261+
b.Append('&');
262+
sp.build(b);
263+
end;
261264
end;
262265
result := b.ToString;
263266
finally

0 commit comments

Comments
 (0)