An earlier bugfix to deal with lists of 0 items
inadvertantly renoved the ability to process
lists creater than 1000 items
The error is that the flag too_many_items and the list item_loop
are mutually exclusive either one or the other exists
but not both.
Change logic so it accounts for this
---
koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt
b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt
index 85a8db9..937b59e 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt
@@ -82,10 +82,8 @@ $(document).ready(function(){
[% END %]
</tbody>
</table>
- [% IF ( item_loop ) %]
- [% UNLESS ( too_many_items ) %]
+ [% IF item_loop %]
<h4>The following barcodes were found: </h4>
- [% END %]
[% END %]
[% END %] <!-- /notfoundbarcodes -->
@@ -96,7 +94,7 @@ $(document).ready(function(){
<input type="hidden" name="completedJobID" id="completedJobID" value="" />
<input type="hidden" name="src" id="src" value="[% src %]" />
-[% IF ( item_loop ) %]
+[% IF item_loop || too_many_items %]
[% IF ( show ) %]<div id="toolbar"><a id="selectallbutton" href="#">Select
All</a> | <a id="clearallbutton" href="#">Clear All</a></div>[% ELSE %][% END %]
<div id="cataloguing_additem_itemlist">
--
1.8.3.rc2
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/