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

            Bug ID: 43259
           Summary: Add to group does not add to group
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Acquisitions
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
  Target Milestone: ---

Steps to reproduce:
1 - Create a basket
2 - Create a group basket. At this step or the process :
/cgi-bin/koha/acqui/basketgroup.pl clicking on "Add to group" does not add the
basket to the group


It is broken since 25.11.00. In 24.11, in basketgroups.tt there was an array
named "grouped", to which the row containing the chosen element was added.
It was created using :
grouped = $("#grouped").DataTable($.extend(true, {}, dataTablesDefaults, {

and row was added using 
grouped.row.add( row ).draw();


On main : 
$("#grouped").kohaTable(dt_params);

row is added the same way : 
grouped.row.add( row ).draw();

This results in a JS error :  "Uncaught TypeError: grouped.row is not a
function"

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to