Skip to content

Commit

Permalink
Merge pull request #196 from praveenKDass/release-5.1.0
Browse files Browse the repository at this point in the history
Fixing program Name listing in Project inapp report
  • Loading branch information
aks30 authored Jul 9, 2024
2 parents 81ba8f9 + e2e8e8e commit db3cea4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions module/reports/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -361,12 +361,12 @@ module.exports = class ReportsHelper {
}

if (userRole != "") {
let regex = userRole.split(",");
regex.push("");
query.userRole = {
$in : [
"",
...userRole.split(",")
]
}
$regex: regex.join("|"),
$options: "i",
};
}

let searchQuery = [];
Expand Down

0 comments on commit db3cea4

Please sign in to comment.