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

$this->datatables->unset_column($column); not working #66

Open
ajindam opened this issue Aug 16, 2014 · 1 comment
Open

$this->datatables->unset_column($column); not working #66

ajindam opened this issue Aug 16, 2014 · 1 comment

Comments

@ajindam
Copy link

ajindam commented Aug 16, 2014

Expected behavior
$this->datatables->unset_column($column); should return all columns except the ones passed as a parameter.

Result
Passed column parameter still appears.

Fix
replace this $column=explode(',',$column);
with this $column=array_flip(explode(',',$column)); //:edit

@adrianondarza
Copy link

Thanks bro!

chland added a commit to chland/Ignited-Datatables that referenced this issue Oct 13, 2017
This basically just adds some fixes for various issues:

IgnitedDatatables#84

IgnitedDatatables#78

IgnitedDatatables#66
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

No branches or pull requests

2 participants