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

Bug with CI 2.2.0 #61

Open
codingarrow opened this issue Jul 22, 2014 · 3 comments
Open

Bug with CI 2.2.0 #61

codingarrow opened this issue Jul 22, 2014 · 3 comments

Comments

@codingarrow
Copy link

Using postgress "PostgreSQL 9.1.9 on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-54), 64-bit"

On my controller the order_by does not work

    ->from('my_table')
->order_by('my_tableid', 'desc');

It gives me a blank (white PHP page)

Tried updating to libraries/datatables.php 2.0 beta but still there's an issue.

@salfredogonzalez
Copy link

i couldnt find the order_by function in the ignited datables class.

doesnt work for me and i am guessing there is a way to do that, also passing variables from the ajax so i can filter the result generated.

I didnt check that is not working with codeigniter 2.2 but i can tell that you can check the result of your xhr from chrome in the tab network of your development console

@blagi
Copy link

blagi commented Aug 11, 2014

h34vn: There is no order_by functionality in Ignited datatables. You are controling the order with Datatables itself. Initially with attribute "order":, and later by ordering/sorting columns with mouse. Ordering is sent with post variables to Ignited and it is using order post variable and creating order_by db method with function: get_ordering()

@salfredogonzalez
Copy link

thanks i will try that

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

3 participants