bug 2608: let offline circ processing work in background
authorGalen Charlton <galen.charlton@liblime.com>
Tue, 16 Sep 2008 01:38:22 +0000 (20:38 -0500)
committerGalen Charlton <galen.charlton@liblime.com>
Wed, 17 Sep 2008 03:40:22 +0000 (22:40 -0500)
commitc7a3b4ede9f2c07a3fd95be19521a40dd855e2c6
tree4db658f5f67416f34c946349e1dd70e15859d2d4
parentefad22fd4db3e98f1c47ee5fb2fe9a8abda63b9a
bug 2608: let offline circ processing work in background

If an offline circulation file is large, process_koc.pl
could time out before processing all of the transactions.

To prevent this, the processing can now be run in the
background, with an AJAX loop to check the job's
status.

As a consequence of the patch, the UI for uploading offline circ files has
changed slightly.  One must select a file, click the "upload file" button, then
click the "process offline circulation file" button.

Also removed the now-superfluous upload_koc.pl, added the warnings pragma,
and fixed a typo in the template.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tmpl
koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/process_koc.tmpl
koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/upload_koc.tmpl [deleted file]
offline_circ/process_koc.pl
offline_circ/upload_koc.pl [deleted file]