Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FilterModel bug with in 5.2 release #2210

Closed
mkrecek234 opened this issue Jun 17, 2024 · 1 comment · Fixed by #2211
Closed

FilterModel bug with in 5.2 release #2210

mkrecek234 opened this issue Jun 17, 2024 · 1 comment · Fixed by #2211
Labels

Comments

@mkrecek234
Copy link
Contributor

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.

@mkrecek234
Copy link
Contributor Author

See fix in #2211

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant