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

Result Pagination #1

Open
federicovilla opened this issue Mar 12, 2017 · 3 comments
Open

Result Pagination #1

federicovilla opened this issue Mar 12, 2017 · 3 comments

Comments

@federicovilla
Copy link

Hi Adrian, I have a request to display huge results..how to add pagination to the Rat library?
Thanks

avenirer added a commit that referenced this issue Mar 14, 2017
@avenirer
Copy link
Owner

Hello. you can now try to pass an array as limit to the get_log method (get_log($user_id = NULL, $code = NULL, $date = NULL, $order_by = NULL, $limit = array($start,$limit))). this array would be used for the $this->db->limit($limit[0],$limit[1]);

@avenirer
Copy link
Owner

this would only work for database rat

@federicovilla
Copy link
Author

Great! Thanks a lot. I'll 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

2 participants