Skip to content

Commit d88ed2d

Browse files
cristianscheidbackportbot[bot]
authored andcommitted
feat(recent-search): add parameter to allow dynamic limit of returned items
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
1 parent 41e5dd6 commit d88ed2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/dav/davProperties.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ export const getRecentSearch = function(lastModified: number): string {
196196
</d:order>
197197
</d:orderby>
198198
<d:limit>
199-
<d:nresults>100</d:nresults>
199+
<d:nresults>${limit}</d:nresults>
200200
<ns:firstresult>0</ns:firstresult>
201201
</d:limit>
202202
</d:basicsearch>

0 commit comments

Comments
 (0)