LP1936233 Row flair for modified items continued
authorBill Erickson <berickxx@gmail.com>
Thu, 5 Aug 2021 16:05:14 +0000 (12:05 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 5 Aug 2021 16:05:14 +0000 (12:05 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/staff/cat/item/status.component.ts

index 101b903..a989e37 100644 (file)
@@ -245,7 +245,8 @@ export class ItemStatusComponent implements OnInit, AfterViewInit {
                         // Retain the original grid index value so row
                         // selection can persist.
                         updatedCopy._index = item._index;
-                        updatedCopy.ischanged(item.ischanged());
+                        // Assume a reloaded copy was changed in some way.
+                        updatedCopy.ischanged(true);
                         this.itemService.scannedItems.splice(idx, 1, updatedCopy);
                     }
                 });