Bugzilla – Attachment 60369 Details for
Bug 18134
Batch authority record modification Preview MARC button needs updating
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18134: Updating Preview MARC button in Batch Authority Record Mod
Bug-18134-Updating-Preview-MARC-button-in-Batch-Au.patch (text/plain), 2.68 KB, created by
Aleisha Amohia
on 2017-02-16 22:14:46 UTC
(
hide
)
Description:
Bug 18134: Updating Preview MARC button in Batch Authority Record Mod
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2017-02-16 22:14:46 UTC
Size:
2.68 KB
patch
obsolete
>From 1e8005f559ef68ea8b586f8cf36fdf7cef9c40b0 Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >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 >--- > .../intranet-tmpl/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 32034a5..e2d5726 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() { > <th></th> > <th>Authid</th> > <th>Summary</th> >- <th>Preview</th> >+ <th> </th> > </tr> > </thead> > <tbody> >@@ -249,7 +249,7 @@ $(document).ready(function() { > <td><input type="checkbox" name="record_id" value="[% authority.authid %]" data-usage="[% authority.count_usage %]" /></td> > <td><a href="/cgi-bin/koha/authorities/detail.pl?authid=[% authority.authid %]">[% authority.authid %]</a></td> > <td>[% PROCESS authresult summary=authority.summary %]</td> >- <td><a href="/cgi-bin/koha/svc/records/preview?record_type=authority&record_id=[% authority.authid %]&mmtid=[% mmtid %]" data-record_type="authority" data-record_id="[% authority.authid %]" data-mmtid="[% mmtid %]" class="previewMARC">Preview MARC</a> >+ <td class="actions"><a href="/cgi-bin/koha/svc/records/preview?record_type=authority&record_id=[% authority.authid %]&mmtid=[% mmtid %]" data-record_type="authority" data-record_id="[% authority.authid %]" data-mmtid="[% mmtid %]" class="previewMARC btn btn-default btn-xs"><i class='fa fa-eye'></i> Show MARC</a> > </tr> > [% END %] > </tbody> >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 18134
:
60369
|
61263
|
61281