Bug 24305: (follow-up) Remove previous declaration of batch_biblionumbers
Revert change for cardnumbers, they are not always numbers. We may need to add a regex to remove special chars however, will be done on its own bug report if needed. Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
d12f50a2e5
commit
c2650f577c
|
|
@ -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' && cells.cell.match('^(\d+)$') %][% 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' %][% SET batch_cardnumbers = 1 %]
|
||||
[% cells.cell | html %][% END %][% END %][% END %]</textarea>
|
||||
</form>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue