@@ -, +, @@ biblionumbers 1 - Create a report like: SELECT biblionumber FROM biblios 2 - Run it 3 - Try the various options from the 'Batch operations' button (You will need to define a marc modification template) 4 - The operations don't find the biblios 5 - Create a report like: SELECT cardnumber FROM borrowers 6 - Run it 7 - Test the batch operations 8 - They fail 9 - Apply patch --- .../en/modules/reports/guided_reports_start.tt | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt @@ -869,14 +869,18 @@ [% # Preserve the whitespace of the following textarea in order to format the values correctly %] - +
[% # Preserve the whitespace of the following textarea in order to format the values correctly %] - +
@@ -927,9 +931,21 @@ [% # Preserve the whitespace of the following textarea in order to format the values correctly %] - +
+ [% BLOCK batch_list %] + [%- FOREACH result IN results %] + [%- FOREACH cells IN result.cells %] + [%- place = loop.index %] + [%- IF header_row.$place.cell == $batch_type || header_types.item(header_row.$place.cell) == $batch_type %] +[%# We must not add whitespace to the cardnumbers %][% cells.cell | html %] + [%- END %] + [%- END %] + [%- END -%] + [% END %] [% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers ) %]

--