Bug 24305: Remove previous declaration of batch_biblionumbers
We should not init batch_biblionumbers before. Also this patch deals with batch_cardnumbers. Signed-off-by: Holly Cooper <hc@interleaf.ie> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
00020bdfa9
commit
3d38816769
|
|
@ -738,7 +738,7 @@ canned reports and writing custom SQL reports.</p>
|
|||
<input type="hidden" name="recordtype" value="biblio" />
|
||||
<input type="hidden" name="op" value="list" />
|
||||
[% # Preserve the whitespace of the following textarea in order to format the values correctly %]
|
||||
<textarea style="display:none" name="recordnumber_list" id="recordnumber_list">[% FOREACH result IN results %][% FOREACH cells IN result.cells %][% place = loop.index %][% IF header_row.$place.cell == 'biblionumber' || header_types.item(header_row.$place.cell) == 'biblionumber' %][% SET batch_biblionumbers = 1 %]
|
||||
<textarea style="display:none" name="recordnumber_list" id="recordnumber_list">[% FOREACH result IN results %][% FOREACH cells IN result.cells %][% place = loop.index %][% IF header_row.$place.cell == 'biblionumber' || header_types.item(header_row.$place.cell) == 'biblionumber' %]
|
||||
[% cells.cell | html %][% END %][% END %][% END %]</textarea>
|
||||
</form>
|
||||
|
||||
|
|
@ -746,7 +746,7 @@ canned reports and writing custom SQL reports.</p>
|
|||
<input type="hidden" name="recordtype" value="biblio" />
|
||||
<input type="hidden" name="op" value="list" />
|
||||
[% # Preserve the whitespace of the following textarea in order to format the values correctly %]
|
||||
<textarea style="display:none" name="recordnumber_list" id="recordnumber_list">[% FOREACH result IN results %][% FOREACH cells IN result.cells %][% place = loop.index %][% IF header_row.$place.cell == 'biblionumber' || header_types.item(header_row.$place.cell) == 'biblionumber' %][% SET batch_biblionumbers = 1 %]
|
||||
<textarea style="display:none" name="recordnumber_list" id="recordnumber_list">[% FOREACH result IN results %][% FOREACH cells IN result.cells %][% place = loop.index %][% IF header_row.$place.cell == 'biblionumber' || header_types.item(header_row.$place.cell) == 'biblionumber' %]
|
||||
[% cells.cell | html %][% END %][% END %][% END %]</textarea>
|
||||
</form>
|
||||
|
||||
|
|
@ -798,7 +798,7 @@ canned reports and writing custom SQL reports.</p>
|
|||
<form method="POST" action="/cgi-bin/koha/tools/modborrowers.pl" id="batch_patron_modification">
|
||||
<input type="hidden" name="op" value="show" />
|
||||
[% # Preserve the whitespace of the following textarea in order to format the values correctly %]
|
||||
<textarea style="display:none" name="cardnumberlist" id="cardnumberlist">[% FOREACH result IN results %][% FOREACH cells IN result.cells %][% place = loop.index %][% IF header_row.$place.cell == 'cardnumber' || header_types.item(header_row.$place.cell) == 'cardnumber' %][% SET batch_cardnumbers = 1 %]
|
||||
<textarea style="display:none" name="cardnumberlist" id="cardnumberlist">[% FOREACH result IN results %][% FOREACH cells IN result.cells %][% place = loop.index %][% IF header_row.$place.cell == 'cardnumber' || header_types.item(header_row.$place.cell) == 'cardnumber' && cells.cell.match('^(\d+)$') %][% SET batch_cardnumbers = 1 %]
|
||||
[% cells.cell | html %][% END %][% END %][% END %]</textarea>
|
||||
</form>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue