[Koha-bugs] [Bug 10457] New: Export selected items data doesn't work when using checkall checkbox

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 13 08:13:52 CEST 2013


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

            Bug ID: 10457
           Summary: Export selected items data doesn't work when using
                    checkall checkbox
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Serials
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: dcook at prosentient.com.au
                CC: colin.campbell at ptfs-europe.com

Currently, if you use the "check all" checkbox next to the "Vendor" table
header, and try to "Export selected items data", you'll experience the
following SQL error:

DBD::mysql::st execute failed: You have an error in your SQL syntax; check the
manual that corresponds to your MySQL server version for the right syntax to
use near 'on
                ORDER BY title' at line 12 at
/kohawebs/prod38/lib/C4/Serials.pm line 1828.

This is because the Javascript that produces the re-direct URL is including the
value of the checkall checkbox, which is "on", as a "serialid". 

We need to only take checkboxes with a name of "serialid" when crafting the
re-direct link.

-- 
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