Bugzilla – Attachment 67438 Details for
Bug 19357
Error when submitting biblionumbers to batch record modification
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19357: (bug 18260 follow-up) Remove non-relevant attributes
Bug-19357-bug-18260-follow-up-Remove-non-relevant-.patch (text/plain), 2.03 KB, created by
Julian Maurice
on 2017-09-29 11:57:04 UTC
(
hide
)
Description:
Bug 19357: (bug 18260 follow-up) Remove non-relevant attributes
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2017-09-29 11:57:04 UTC
Size:
2.03 KB
patch
obsolete
>From 919e1f13bdf5e1e85faad6fabf3546dcd9485b84 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 21 Sep 2017 11:09:57 -0300 >Subject: [PATCH] Bug 19357: (bug 18260 follow-up) Remove non-relevant > attributes > >When created, batch_record_modification.tt has been based on >batch_delete_records.tt >These attributes are not used in the template and not set in the pl >script. >Since bug 18260, biblio is a Koha::Biblio and calling a non-existent >method will raise an error. > >This patch get rid of the following error: >batch_record_modification.pl: Template process failed: undef error - The >method itemnumbers is not covered by tests! > >Test plan: >Modify bibliographic records with the "Batch record modification" tool. > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> >--- > .../intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >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 52b3b2b291..4a6ad6a7fb 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 >@@ -218,7 +218,7 @@ $(document).ready(function() { > <tbody> > [% FOR biblio IN records %] > <tr> >- <td><input type="checkbox" name="record_id" value="[% biblio.biblionumber %]" data-items="[% biblio.itemnumbers.size %]" data-issues="[% biblio.issues_count %]" data-reserves="[% biblio.reserves.size %]" /></td> >+ <td><input type="checkbox" name="record_id" value="[% biblio.biblionumber %]" /></td> > <td>[% biblio.biblionumber %]</td> > <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber %]">[% biblio.title %]</a></td> > <td class="actions"> >-- >2.11.0
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 19357
:
67279
|
67280
| 67438