If a bibliographic record has no items we should not offer the user the option to "delete all items."
Created attachment 6312 [details] [review] Proposed fix This patch changes the catalog toolbar so that when there are no items attached to a record the "Delete all items" menu item appears to be disabled. Clicking it will trigger an alert, "This record has no items."
Created attachment 6510 [details] [review] Bug 7225 - "Delete all items" should be greyed out when a title has no items This patch changes the catalog toolbar so that when there are no items attached to a record the "Delete all items" menu item appears to be disabled. Clicking it will trigger an alert, "This record has no items." Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Template only change, adds new conditional and proper warning message. Marking as Passed QA
patch pushed, please test
Included in 3.6 prior to 3.6.5.