]> git.koha-community.org Git - koha.git/commit
Bug 31891: (bug 27421 follow-up) Remove one additional click
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 16 Nov 2022 06:40:59 +0000 (07:40 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 22 Nov 2022 12:19:59 +0000 (09:19 -0300)
commit5e51279ce9ace65057a707cf10a486283bfbf4d4
tree615aac7629194781a357a793f39b12835b2fe7e6
parenta40532b1ce63150c92be341b6547257320c0b117
Bug 31891: (bug 27421 follow-up) Remove one additional click

From comment 0
"""
Moving marc batch import actions to background jobs has introduced some confusing
clicks to the process. Before this change, after staging a batch one was taken
to a "MARC staging results" page with details of how the staging went and, most
importantly, a link straight to the batch you'd just staged
(at manage-marc-import.pl?import_batch_id).

Now, however, one must click the status bar to get to details of the job
and then click "View batch" from there. Not only is that an extra click
and page load, but neither of those links are particularly large or
obvious.
"""

Test plan:
- Stage a record for import, notice that the "View batch" link appears
when the job is finished
- Add order to basket from a new file, select a file and import
Notice that the "Add staged files to basket" link is displayed when the
job is finished

Note for QA: We should have a js_callback in the background_job include
file instead.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt
koha-tmpl/intranet-tmpl/prog/js/job_progess.js