Bug 27576: Don't show import recordds table after cleaning a batch
authorNick Clemens <nick@bywatersolutions.com>
Fri, 29 Jan 2021 11:06:34 +0000 (11:06 +0000)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Thu, 11 Feb 2021 03:01:21 +0000 (04:01 +0100)
commitd4ab4fe8dcb4a6f91917dc13bfe176419560725d
tree750331898faeddafa3bb516dc15056664e9a8118
parentaf62a976376e7a478053ee73bb106509eb0e6461
Bug 27576: Don't show import recordds table after cleaning a batch

Currently if you clean a batch from the manage marc records page, the import records table appears with no items  at the bottom of the screen

This is because we test for import_batch_id, we should also make sure we didn't just clean a batch

To recreate:
1 - Stage a batch for import
2 - Go to 'Manage staged records'
3 - 'Clean' the batch you just imported
4 - Note the empty table that appears at the bottom of the page
5 - Apply patch
6 - Repeat 1-3
7 - Note the table no longer appears

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit dc072ee4ba9361d35d92efd46b2935ff1b608b0d)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 329d5797b3c6fc28814dc9f73717eb9f6eba0066)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
(cherry picked from commit 7dd3a5cd1a3280dae395561f4d44c6ab264cc486)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt