Added "exactMatchNames" parameter to GET /arbitrary/resources/search

This commit is contained in:
CalDescent
2023-04-21 12:55:59 +01:00
parent 9cd6372161
commit 560282dc1d
3 changed files with 9 additions and 0 deletions

View File

@@ -206,6 +206,7 @@ window.addEventListener("message", (event) => {
if (data.name != null) url = url.concat("&name=" + data.name);
if (data.names != null) data.names.forEach((x, i) => url = url.concat("&name=" + x));
if (data.prefix != null) url = url.concat("&prefix=" + new Boolean(data.prefix).toString());
if (data.exactMatchNames != null) url = url.concat("&exactmatchnames=" + new Boolean(data.exactMatchNames).toString());
if (data.default != null) url = url.concat("&default=" + new Boolean(data.default).toString());
if (data.includeStatus != null) url = url.concat("&includestatus=" + new Boolean(data.includeStatus).toString());
if (data.includeMetadata != null) url = url.concat("&includemetadata=" + new Boolean(data.includeMetadata).toString());