IDEMPIERE-4349 WTableDirEditor show inactive item (#167)
add back onlyActive logic when items is from cache.
This commit is contained in:
parent
69256ca2a0
commit
31acb032ab
|
@ -1085,6 +1085,9 @@ public final class MLookup extends Lookup implements Serializable
|
|||
for(KeyNamePair knp : knpCache)
|
||||
{
|
||||
m_lookup.put(knp.getKey(), knp);
|
||||
String name = knp.getName();
|
||||
if (name.startsWith(INACTIVE_S) && name.endsWith(INACTIVE_E))
|
||||
m_hasInactive = true;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
@ -1104,6 +1107,9 @@ public final class MLookup extends Lookup implements Serializable
|
|||
for(ValueNamePair vnp : vnpCache)
|
||||
{
|
||||
m_lookup.put(vnp.getValue(), vnp);
|
||||
String name = vnp.getName();
|
||||
if (name.startsWith(INACTIVE_S) && name.endsWith(INACTIVE_E))
|
||||
m_hasInactive = true;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue