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

--- Comment #104 from Emmi Takkinen <[email protected]> ---
Created attachment 181049
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=181049&action=edit
Bug 36135: Fix ability to send SQL results in batch modify holds tool

Ability to send SQL results to batch holds tool was broken
due use of API to fetch holds. This patch fixes this.

To test:
1. Create SQL report which contains column for reserve_id.
=> e.g "SELECT reserve_id FROM reserves limit 10".
2. Run report.
3. Over report select "Batch operations" should be displayed
and under that there should be option "Batch modify holds".
4. Click "Batch modify holds" option.
=> Confirm that holds displayed in "Batch mofidy holds" tool
are same as found with your report.

Note that when SQL results are send to the tool, search form
is displayed for a second before API call is launched. This
is expected behaviour since we need to first navigate to the
search form so we can then trigger the forms submit event
automatically.

Also tidy some code to make QA tool happy.

Sponsored-by: Koha-Suomi Oy

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to