[Koha-bugs] [Bug 20695] Upload does not show all results when uploading multiple files
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed May 9 06:56:39 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20695
Dilan Johnpullé <dilan at calyx.net.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #74967|0 |1
is obsolete| |
--- Comment #4 from Dilan Johnpullé <dilan at calyx.net.au> ---
Created attachment 75199
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75199&action=edit
Bug 20695: Fix multiple upload result in tools/upload script
Instead of calling UploadedFiles->find only once with $id, we should
extract all comma separated id's from the parameter.
Test plan:
[1] Before this patch, upload two files at once in Tools/Upload. After doing
so, you should see only one result reported. But both files should
have been uploaded.
[2] With this patch, repeat step 1 and see two upload results.
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Patch applies and functions as described.
Signed-off-by: Dilan Johnpullé <dilan at calyx.net.au>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list