Bug 36895: Fix background job link
This patch fixes the missing job id in the links from the import KBART file page
Test plan:
1) Import a KBART file to get the message at the top of the screen.
2) The message should include a link on the text "see progress"
3) Click the link, it should just take you to the background jobs page
4) Apply patch
5) yarn build
6) Hard refresh the browser
7) Repeat steps 1-3
8) It should correctly take you to the background job
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit dc154e3dd2)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
1ad2dd1a6a
commit
29ba527b74
|
|
@ -149,9 +149,8 @@ export default {
|
|||
message += `<li>${this.$__(
|
||||
"Job %s for uploaded file has been queued"
|
||||
).format(
|
||||
i + 1,
|
||||
job
|
||||
)}, <a href="/cgi-bin/koha/admin/background_jobs.pl?op=view&id=%s" target="_blank">${this.$__(
|
||||
i + 1
|
||||
)}, <a href="/cgi-bin/koha/admin/background_jobs.pl?op=view&id=${job}" target="_blank">${this.$__(
|
||||
"see progress"
|
||||
)}</a></li>`
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue