Skip to content

FilterModel bug with in 5.2 release #2210

@mkrecek234

Description

@mkrecek234

Simple bug, but unfortunately GitHub won't let me create a new branch anymore, so here in quick words:

  • Create grid with $grid->addFilterColumn() where one of the columns is a bigint ID.
  • FilterModel misses the bigint type assignment and thus it throws an error.

Just add

            Types::INTEGER => FilterModel\TypeNumber::class,

to $class array and all works fine again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions