Skip to content
This repository was archived by the owner on Mar 6, 2022. It is now read-only.
This repository was archived by the owner on Mar 6, 2022. It is now read-only.

DataTablesComponent #15

@duquerroy

Description

@duquerroy

There is a bug

'2015-12-08 21:28:56 Error: [PDOException] SQLSTATE[42000]: Syntax error or access violation: 1064 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 '' at line 1'

If i comment ligne 128, it's work. The condition is empty
$data->andWhere(['or' => $this->config('conditionsOr')]);

And the method find() is changed, must be added $finder in second argument
public function find($tableName, $finder = 'all', array $options = [])
The documentation is outdated

Thanks !

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