Skip to content

offset not found issue on add_column #125

@Ulterior

Description

@Ulterior

after an upgrade, I get the error message when doing global search on virtually added column with add_column

the problem is in Databases.php file line 560 - index is being requested which should not!

somebody has to override
if ($this->input['columns'][$i]['orderable'] == "true") when using add_column function and not using the ordering, or offsets must be calculated correctly and filtering not used on them

bug dissapears when explicitely initializing

                            "columnDefs": [
                              { "orderable": false, "targets": 3 }
                            ],

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions