Fix bug [ 1793806 ] Duplicate vendors in InfoProduct search
Reported by GusG (gemmiti) Solved by MJudd
This commit is contained in:
parent
2de320b935
commit
0c07ba601a
|
@ -424,7 +424,7 @@ public final class InfoProduct extends Info implements ActionListener
|
|||
// => Vendor
|
||||
String vendor = fieldVendor.getText().toUpperCase();
|
||||
if (!(vendor.equals("") || vendor.equals("%")))
|
||||
where.append(" AND UPPER(bp.Name) LIKE ?");
|
||||
where.append(" AND UPPER(bp.Name) LIKE ? AND ppo.IsCurrentVendor='Y'");
|
||||
|
||||
return where.toString();
|
||||
} // getSQLWhere
|
||||
|
|
Loading…
Reference in New Issue