From 2815297c25419d86a60bc898c49fbed442d39f3e Mon Sep 17 00:00:00 2001 From: Chris Chase Date: Thu, 5 Mar 2026 12:57:08 +1030 Subject: [PATCH] Use configured orderby without URL encoding --- odbcwritenow.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odbcwritenow.js b/odbcwritenow.js index ee4b53f..e419b56 100644 --- a/odbcwritenow.js +++ b/odbcwritenow.js @@ -77,7 +77,7 @@ module.exports = function(RED) { const page = parseInt(pageRaw, 10) const apikeyRaw = msg.apikey || config.apikey const whatRaw = config.what - const orderby = encodeURIComponent(msg.orderby || config.orderby); + const orderby = config.orderby; if (!whatRaw || String(whatRaw).trim().length === 0) { node.status({ fill: "red", shape: "ring", text: "Invalid config: 'what' is required" })