You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When deleting the last item of a record, there is 2 confirmation messages "Do you really want to delete this record?" and we need to refresh the page to activate the "Delete" button of the bibliographic record.
To Reproduce
Go to a record with only one item
Delete the last item
See the 2 confirmation messages that follow each other (one for the item, one for the holding I guess). If you confirm the delete for the 2nd messages, it spins forever.
See that the "Delete" button of the bibliographic record is not activate. You need to refresh the page.
Expected behavior
There should be only one confirmation message. The holding is deleted automatically if there is no more item attached.
The "delete" button should then be automatically activated (as there is no item attached).
iGormilhit
changed the title
Delete the last item of a bibliographic record
Two confirmation messages when deleting the last item of a document
Apr 27, 2021
Describe the bug
When deleting the last item of a record, there is 2 confirmation messages "Do you really want to delete this record?" and we need to refresh the page to activate the "Delete" button of the bibliographic record.
To Reproduce
Expected behavior
There should be only one confirmation message. The holding is deleted automatically if there is no more item attached.
The "delete" button should then be automatically activated (as there is no item attached).
Context
The text was updated successfully, but these errors were encountered: