Bug 3134: [Follow-up] Ability to select multiple reports to delete at once
authorOwen Leonard <oleonard@myacpl.org>
Mon, 19 Aug 2013 14:16:21 +0000 (10:16 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 21 Aug 2013 14:25:19 +0000 (14:25 +0000)
commit0d88109018637ee294f9012cbe53498422e53292
tree6b161002483c23e71107f580c2fe862c6d68d634
parent300918e4886433f9f5b52779d8cf2027fcbdcb1a
Bug 3134: [Follow-up] Ability to select multiple reports to delete at once

This follow-up moves the checkboxes into a separate column from the
report ID in order to prevent visual inconsistencies.

To test, repeat the test plan from the original patch:

You must have two or more saved reports to delete. Deletion
should work properly when:

- Selecting one report for deletion by checking the box.
- Selecting more than one report for deletion by checking boxes.
- Clicking the old "Delete" link

Clicking the delete button should prompt you to confirm. Clicking cancel
should cancel.

Clicking the delete button when no boxes are checked should trigger an
alert asking you to select reports for deletion.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
This works really nicely, passes all tests and the QA script.

There is one little thing to note: If you delete a single report
using the option from the menu, the line you want to delete
is highlighted in red. It would be nice to do that also for
deleting multiple reports.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt