[Koha-bugs] [Bug 9915] Allow opac/svc/report to be passed sql parameters

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Apr 20 18:08:30 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9915

Galen Charlton <gmcharlt at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #27316|0                           |1
        is obsolete|                            |

--- Comment #22 from Galen Charlton <gmcharlt at gmail.com> ---
Created attachment 27328
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=27328&action=edit
Bug 9915: (follow-up) use SQL placeholders

This patch teaches C4::Reports::Guided::execute_query()
how to accept a list of query parameter values.  It then
follows-up on the main patch by simplifying how it converts
report parameters to a complete SQL query, and removes the
use of DBI->quote() and complicated regexes.

To test:

[1] Verify that using the OPAC svc/report service with
    sql_params continues to work.
[2] Verify that there are no regressions with running
    reports from the staff interface, both via the web
    service and the reports interface.
[3] Verify that prove -v /db_dependent/Reports_Guided.t passes.

Signed-off-by: Galen Charlton <gmc at esilibrary.com>

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


More information about the Koha-bugs mailing list