LP1837067: Fixing race condition in Replace Barcodes dialog user/sandbergja/lp1837067_race_condition_in_replace_barcode
authorJane Sandberg <sandbej@linnbenton.edu>
Thu, 18 Jul 2019 15:22:35 +0000 (08:22 -0700)
committerJane Sandberg <sandbej@linnbenton.edu>
Thu, 18 Jul 2019 15:22:35 +0000 (08:22 -0700)
commit3c87b859824995727fdfe257ad77cc509c70f08a
tree48c234b0bd79f43ae300b0e14783a65e9d4a2fae
parent0ab8e87a0e0f551cccdbce41495117dd54ba709a
LP1837067: Fixing race condition in Replace Barcodes dialog

To test:
1) In the experimental Angular staff catalog, open up a bib record.
2) Open the Holdings View tab.
3) Select several items.
4) Use the Actions for Selected Rows menu to Replace Barcodes
5) Change the first barcode to something recognizable. Click the
Replace Barcode button.
6) Note that the dialog opens again to ask you to replace the
barcode you just added.
7) Apply this patch.
8) Repeat steps 1-5.
9) Note that the dialog opens again to ask you to replace the next
barcode.

Also removes some unused imports, and consolidates two RxJS pipes that
were next to one another.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Open-ILS/src/eg2/src/app/staff/share/holdings/replace-barcode-dialog.component.ts