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

[8.0] Allow boolean values for column[i].searchable #1813

Merged
merged 1 commit into from
Mar 26, 2019
Merged

[8.0] Allow boolean values for column[i].searchable #1813

merged 1 commit into from
Mar 26, 2019

Conversation

rechl
Copy link

@rechl rechl commented Aug 3, 2018

When dt Request is sent as application/json instead of multipart/form-data
and when in ColumnDef boolean values are used the search does not work.

Did not work
column[i].searchable = true;

Did work
column[i].searchable = 'true';

But the type of searchable is boolean according to
https://datatables.net/reference/option/columns.searchable

might affect #1789

When dt Request is sent as application/json instead of multipart/form-data
and when in ColumnDef boolean values are used the search does not work. 
 
(Angular 6 HTTPClient for example)

might affect #1789
@yajra yajra changed the title Allow boolean values for column[i].searchable [8.0] Allow boolean values for column[i].searchable Mar 26, 2019
@yajra
Copy link
Owner

yajra commented Mar 26, 2019

Wew, sorry for overlooking this PR for so long. Looks good. Thanks!

@yajra yajra merged commit 261c2da into yajra:8.0 Mar 26, 2019
@yajra
Copy link
Owner

yajra commented Mar 26, 2019

Released on v8 and v9. Thanks!

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

Successfully merging this pull request may close these issues.

2 participants