@ -446,7 +446,7 @@ class PrAdapter extends Adapter {
|
||||
"%' or trim(v.justificationnumber) like '%" +
|
||||
keyword +
|
||||
"%') ";
|
||||
if (status !== "-1") {
|
||||
if (status !== undefined && status !== null && status !== "") {
|
||||
qry += "and v.status in(" + status + ") ";
|
||||
}
|
||||
if (swherenik) {
|
||||
@ -485,7 +485,7 @@ class PrAdapter extends Adapter {
|
||||
"%' or trim(v.justificationnumber) like '%" +
|
||||
keyword +
|
||||
"%') ";
|
||||
if (status !== "-1") {
|
||||
if (status !== undefined && status !== null && status !== "") {
|
||||
qry += "and v.status in(" + status + ") ";
|
||||
}
|
||||
if (division && division.trim() !== "") {
|
||||
|
||||
Reference in New Issue
Block a user