- Added "Update Barcodes" as a new LI action that opens the
item attributes editor
- Changed the "Holdings Maintenance" LI action to open the
record holdings view page rather than spawning the item
attributes editor, making it match the behavior of the
"Holdings Maint." LI action in the Dojo interface.
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
<button ngbDropdownItem [disabled]="li.state() != 'received'"
(click)="markUnReceived([li.id()])" i18n>Mark Un-Received</button>
<button ngbDropdownItem [disabled]="!liHasRealCopies(li)"
- (click)="editHoldings(li)" i18n>Holdings Maintenance</button>
+ (click)="editHoldings(li)" i18n>Update Barcodes</button>
+ <button ngbDropdownItem [disabled]="!liHasRealCopies(li)"
+ (click)="jumpToHoldings(li)" i18n>Holdings Maintenance</button>
<a ngbDropdownItem routerLink="lineitem/{{li.id()}}/history"
queryParamsHandling="merge" i18n>View History</a>
</div>
);
}
+ jumpToHoldings(li: IdlObject) {
+ window.open('/eg2/staff/catalog/record/' + li.eg_bib_id() + '/holdings', '_blank');
+ }
+
receiveSelected() {
this.markReceived(this.selectedIds());
}