Munka keresés javítva
This commit is contained in:
parent
bd1fb958af
commit
644d5aad5b
2
app.js
2
app.js
|
|
@ -553,7 +553,7 @@ app.post('/apiPostDailyReport/:apiKey',function(req,res){
|
||||||
app.get('/filter', utils.ensureAuthenticated, async function(req, res) {
|
app.get('/filter', utils.ensureAuthenticated, async function(req, res) {
|
||||||
//console.log(req.query.year.value);
|
//console.log(req.query.year.value);
|
||||||
const year=new RegExp("^"+req.query.year);
|
const year=new RegExp("^"+req.query.year);
|
||||||
const condition=new RegExp("^"+req.query.condition);
|
const condition=new RegExp(req.query.condition);
|
||||||
|
|
||||||
var query={
|
var query={
|
||||||
$or:[
|
$or:[
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue