| Summary: | "Delete all items" should be greyed out when a title has no items | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Owen Leonard <oleonard> |
| Component: | Templates | Assignee: | Owen Leonard <oleonard> |
| Status: | CLOSED FIXED | QA Contact: | Ian Walls <koha.sekjal> |
| Severity: | minor | ||
| Priority: | P5 - low | CC: | chris, paul.poulain |
| Version: | 3.6 | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Attachments: |
Proposed fix
Bug 7225 - "Delete all items" should be greyed out when a title has no items |
||
|
Description
Owen Leonard
2011-11-15 15:26:50 UTC
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. |