We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 644be6a commit c71688eCopy full SHA for c71688e
inventory2/holdingsItems-pcom.js
@@ -321,10 +321,10 @@ try {
321
notes: [],
322
circulationNotes: []
323
}
324
-
325
- let stat = statMap[r.ITEM_STATUS_DESC] || '';
+ let st = r.LastOfITEM_STATUS_DESC || r.ITEM_STATUS_DESC;
+ let stat = statMap[st] || '';
326
if (stat) i.status.name = stat;
327
- if (r.ITEM_STATUS_DESC === 'Damaged') {
+ if (st === 'Damaged') {
328
i.itemDamagedStatusId = refData.itemDamageStatuses.Damaged;
329
330
0 commit comments