From 644d5aad5b3d2a720c923c5fdd02cd58712b2579 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincze=20J=C3=B3zsef?= Date: Mon, 17 Feb 2025 09:26:33 +0100 Subject: [PATCH] =?UTF-8?q?Munka=20keres=C3=A9s=20jav=C3=ADtva?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 0dd4fdb..a14dc7b 100644 --- a/app.js +++ b/app.js @@ -553,7 +553,7 @@ app.post('/apiPostDailyReport/:apiKey',function(req,res){ app.get('/filter', utils.ensureAuthenticated, async function(req, res) { //console.log(req.query.year.value); const year=new RegExp("^"+req.query.year); - const condition=new RegExp("^"+req.query.condition); + const condition=new RegExp(req.query.condition); var query={ $or:[