[Koha-bugs] [Bug 25942] Batch biblio and borrower operations on report results should not concatenate biblio/cardnumbers into a single string

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 18 14:34:28 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25942

--- Comment #4 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 113782
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113782&action=edit
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 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
10 - Run each report again and test batch operations
11 - They work!

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list