Bug 27142: Don't interpolate batch_type variable
To test:
1 - Create a report like:
SELECT * FROM borrowers LIMIT 50
2 - Run the report
3 - Attempt batch modification - it fails showing every row as an unfound cardnumber
4 - Apply patch
5 - Repeat
6 - Success!
7 - Edit report to:
SELECT * FROM biblio LIMIT 50
8 - Repeat test
9 - Ensure batch modification and deletion work
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 9b62806a97)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 8338946e4e)
Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
This commit is contained in:
parent
1bbef979c6
commit
3c130e0806
|
|
@ -940,7 +940,7 @@
|
|||
[%- 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 %]
|
||||
[%- 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 %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue