From 85f52d52e7fc77d6635321523e77a45a69081289 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Thu, 16 Feb 2017 22:10:34 +0000 Subject: [PATCH] Bug 18134: Updating Preview MARC button in Batch Authority Record Mod This patch ensures the Preview MARC button when batch modifying authority records looks like the Preview MARC button when batch modifying biblio records. To test: 1) Go to Tools -> Batch record modification 2) Leave record type as Biblio, Put in a biblionumber, select a template and click Continue 3) Notice the 'Show MARC' button 4) Click Cancel and change record type to Authority. Put in auth id, select template, click Continue 5) Notice ugly 'Preview MARC' link 6) Apply patch and refresh page 7) There should now be a nice 'Show MARC' button like there is for biblio mod. Confirm it still works as expected. Sponsored-by: Catalyst IT Signed-off-by: JMBroust Signed-off-by: Nick Clemens Signed-off-by: Kyle M Hall --- .../prog/en/modules/tools/batch_record_modification.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt index 32034a5428..e2d5726841 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt @@ -240,7 +240,7 @@ $(document).ready(function() { Authid Summary - Preview +   @@ -249,7 +249,7 @@ $(document).ready(function() { [% authority.authid %] [% PROCESS authresult summary=authority.summary %] - Preview MARC + Show MARC [% END %] -- 2.39.5