Bugzilla – Attachment 77020 Details for
Bug 19722
Add a MaxItemsToDisplayForBatchMod preference
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19722: (follow-up) Adjust template parameters
Bug-19722-follow-up-Adjust-template-parameters.patch (text/plain), 2.44 KB, created by
Nick Clemens (kidclamp)
on 2018-07-16 17:44:17 UTC
(
hide
)
Description:
Bug 19722: (follow-up) Adjust template parameters
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2018-07-16 17:44:17 UTC
Size:
2.44 KB
patch
obsolete
>From 16e40f073bb9e3e9c470ec8fed5934693d4f61c8 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 16 Jul 2018 17:41:28 +0000 >Subject: [PATCH] Bug 19722: (follow-up) Adjust template parameters > >Before we passed 'too_many_items' this was renamed to >'too_many_items_display' but deletion template lacked changes > >To test: >1 - Test a batch deletion by list and file >2 - Test with deleting biblios and without >3 - Results should be as expected >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt >index 835be89..64fe7bd 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt >@@ -44,7 +44,7 @@ > [% END %] > </tbody> > </table> >- [% UNLESS ( too_many_items ) %] >+ [% UNLESS ( too_many_items_display ) %] > [% IF ( item_loop ) %]<h4>The following barcodes were found: </h4>[% END %] > [% END %] > [% END %] >@@ -104,8 +104,8 @@ > > [% IF ( show ) %] > >-[% IF ( too_many_items ) %] >- <p>Too many items ([% too_many_items %]) to display individually.</p> >+[% IF ( too_many_items_display ) %] >+ <p>Too many items ([% too_many_items_display %]) to display individually.</p> > [% FOREACH itemnumber IN itemnumbers_array %] > <input type="hidden" name="itemnumber" value="[% itemnumber %]" /> > [% END %] >@@ -114,11 +114,11 @@ > [% IF ( itemresults ) %] > <div id="cataloguing_additem_newitem"> > <input type="hidden" name="op" value="[% op %]" /> >- <p>This will delete [% IF ( too_many_items ) %]all the[% ELSE %]the selected[% END %] items.</p> >+ <p>This will delete [% IF ( too_many_items_display ) %]all the[% ELSE %]the selected[% END %] items.</p> > <input type="hidden" name="del" value="1" /> > <fieldset class="action"> > <input type="checkbox" name="del_records" id="del_records" /> <label for="del_records">Delete records if no items remain.</label> >- [% IF too_many_items %] >+ [% IF too_many_items_display %] > <input type="submit" name="mainformsubmit" value="Delete ALL submitted items" /> > [% ELSE %] > <input type="submit" name="mainformsubmit" value="Delete selected items" /> >-- >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 19722
:
69426
|
74682
|
77020
|
87033
|
87034
|
87035
|
87077
|
87078
|
87079