Added optional "before" and "after" params to GET /arbitrary/resources/search

This commit is contained in:
CalDescent
2023-05-08 12:46:15 +01:00
parent 8fa344125c
commit 0ec661431c
5 changed files with 21 additions and 4 deletions

View File

@@ -228,6 +228,8 @@ window.addEventListener("message", (event) => {
if (data.nameListFilter != null) url = url.concat("&namefilter=" + data.nameListFilter);
if (data.followedOnly != null) url = url.concat("&followedonly=" + new Boolean(data.followedOnly).toString());
if (data.excludeBlocked != null) url = url.concat("&excludeblocked=" + new Boolean(data.excludeBlocked).toString());
if (data.before != null) url = url.concat("&before=" + data.before);
if (data.after != null) url = url.concat("&after=" + data.after);
if (data.limit != null) url = url.concat("&limit=" + data.limit);
if (data.offset != null) url = url.concat("&offset=" + data.offset);
if (data.reverse != null) url = url.concat("&reverse=" + new Boolean(data.reverse).toString());