-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
Fix for limiting logins list length #346
Conversation
The |
Using limit() does not produce an error, but it does not work either, it has no effect (on CI 4.3.3, php 7.4). |
(Codeigniter Model does not accept limit() metod
1e03074
to
25eea07
Compare
@lonnieezell, I did a rebase for this PR, so now it passes tests. Please consider it as well. It is only minor improvement, but does limit the otherwise endless list of recent logins (https://www.codeigniter.com/user_guide/models/model.html#findall) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call. Thanks!
Oh, the the query builder |
Explains why limit() neither fails nor has any effect... |
If all is fine, could someone merge this into develop please? @lonnieezell ? |
@lonnieezell , let's finish this trivial change. |
(Codeigniter Model does not implement limit() metod