Koha/tools
Jonathan Druart 3086788b26 Bug 10601: Add a counter on batch items modifications
After executing a batch items modifications, a dialog is displayed above
the result table. It contains the number of items (and total fields)
which has been modified.

Note that items that are selected for modification but which do not
end up actually be changed are not reported in the final counts.

This patch adds two methiods to C4::BackgroundJob, ->set() and ->get(),
that allow background jobs to pass arbitrary data back to the client.

Test plan:
1/ Go to tools/batchMod.pl
2/ Enter a barcodes list
3/ Check/uncheck items and fill some values to apply
4/ Save
5/ The table summary will be displayed with a dialog box on top:
 XX item(s) modified (with YY fields modified)
Check that XX and YY correspond with what you expected.

Signed-off-by: Liz Rea <liz@catalyst.net.nz>
batch modification still seems to work correctly, with the helpful addition of the counter. Thanks!

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-09-18 17:10:00 +00:00
..
csv-profiles
quotes Bug 9010 - Follou up Quote of the day: Umlauts do not display correctly 2012-11-09 20:02:11 -05:00
background-job-progress.pl
batchMod.pl Bug 10601: Add a counter on batch items modifications 2013-09-18 17:10:00 +00:00
cleanborrowers.pl Bug 6506: When AnonymousPatron not set, deletion of issue history silently failed. 2013-05-01 08:44:11 -04:00
copy-holidays.pl
csv-profiles.pl
exceptionHolidays.pl
export.pl Bug 9300 - filtering Export (MARC) data by accession date does not work 2013-06-07 08:41:31 -07:00
holidays.pl Bug 10080 - Change system pref IndependantBranches to IndependentBranches 2013-05-22 07:58:23 -07:00
import_borrowers.pl Bug 7785: (follow-up) standardize POD 2013-08-13 16:15:30 +00:00
inventory.pl Bug 10550: Fix database typo wthdrawn 2013-09-08 01:58:41 +00:00
koha-news.pl Bug 9108: Followup: send the dateformat value from C4::Auth 2013-01-17 21:59:30 -05:00
letter.pl Bug 10080 - Change system pref IndependantBranches to IndependentBranches 2013-05-22 07:58:23 -07:00
manage-marc-import.pl Bug 10527: remove disused routine C4::Branch::get_branch_code_from_name 2013-07-12 20:20:20 +00:00
modborrowers.pl Bug 9108: Followup: send the dateformat value from C4::Auth 2013-01-17 21:59:30 -05:00
newHolidays.pl Bug 8842 fix Plack scoping for holidays 2012-11-05 08:41:17 -05:00
overduerules.pl Bug 8904: fix Plack scoping for overduerules.pl 2012-11-04 19:58:33 -05:00
pdfViewer.pl
picture-upload.pl Bug 9421: tools/picture-upload.pl not Plack-compatible 2013-02-06 12:35:46 -05:00
quotes-upload.pl
quotes.pl
scheduler.pl Bug 9108: Followup: send the dateformat value from C4::Auth 2013-01-17 21:59:30 -05:00
stage-marc-import.pl
tools-home.pl
upload-cover-image.pl Bug 9065 - set correct permission for upload local cover image 2013-01-13 08:32:18 -05:00
upload-file-progress.pl
upload-file.pl
viewlog.pl Revert "Bug 9951: Followup for tools/viewlog.pl" 2013-04-29 15:03:45 -07:00