Summary: | Cannot delete records from Labeled MARC view | ||
---|---|---|---|
Product: | Koha | Reporter: | Jared Camins <camins> |
Component: | Cataloging | Assignee: | Owen Leonard <oleonard> |
Status: | CLOSED FIXED | QA Contact: | Bugs List <koha-bugs> |
Severity: | normal | ||
Priority: | PATCH-Sent (DO NOT USE) | CC: | koha.sekjal |
Version: | rel_3_2 | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Attachments: | Proposed fix |
Description
Jared Camins
2010-06-03 18:14:45 UTC
Created attachment 2572 [details] [review] Proposed fix The template checks for a "count" variable (item count) to see whether it should allow deletion of the biblio record. For some reason labeledMARCdetail.pl hard-coded this as 1, which meant the template always thought was 1 item. This patch also adds an item count check on the display of "Delete all items," disabling it if there are no items. Fixed as of 3.2-RC. |