Merge pull request #5 from Philreact/feature/search-keywords

added keywords to qortalRequest
This commit is contained in:
kennycud 2025-03-19 17:37:14 -07:00 committed by GitHub
commit bd4472c2c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -382,6 +382,7 @@ window.addEventListener("message", async (event) => {
if (data.identifier != null) url = url.concat("&identifier=" + data.identifier);
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.keywords != null) data.keywords.forEach((x, i) => url = url.concat("&keywords=" + x));
if (data.title != null) url = url.concat("&title=" + data.title);
if (data.description != null) url = url.concat("&description=" + data.description);
if (data.prefix != null) url = url.concat("&prefix=" + new Boolean(data.prefix).toString());