Bug 25942: Fix batch report operations for cardnumbers and biblionumbers
authorNick Clemens <nick@bywatersolutions.com>
Wed, 18 Nov 2020 13:29:33 +0000 (13:29 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 25 Nov 2020 13:38:18 +0000 (14:38 +0100)
commit443c004bc64543b1755bf0579a68ef32aa36cee5
treefebd3fea26ebc31a78310f99b21cd81a163c75d9
parent03f15d13c5bb931c03aa1487a3887bdaa034b06f
Bug 25942: Fix batch report operations for cardnumbers and biblionumbers

This patch moves the processing for these to a block and adds a comment
in place of whitespace and uses template directives to chomp newlines to improve readability

To test:
 1 - Create a report like:
    SELECT biblionumber FROM biblio
 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
10 - Run each report again and test batch operations
11 - They work!

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Bug 25942: (follow-up) fix filters

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt