|
@@ -322,7 +322,7 @@ public class EquipmentResourceLibrary extends Controller {
|
|
|
Rows attRows = new Rows();
|
|
|
Rows tempAttRows = attRowsMap.getOrDefault(row.getString("attachmentid"), new Rows());
|
|
|
for (Row tempAttRow : tempAttRows) {
|
|
|
- if (tempAttRow.getString("ownertable").equals(ownertable)) {
|
|
|
+ if (tempAttRow.getString("usetype").equals(ownertable)) {
|
|
|
attRows.add(tempAttRow);
|
|
|
}
|
|
|
}
|