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

The log entries loaded all #1

Closed
agusmakmun opened this issue Jul 10, 2019 · 1 comment
Closed

The log entries loaded all #1

agusmakmun opened this issue Jul 10, 2019 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@agusmakmun
Copy link
Owner

This problem was found when "Log files" was clicked, and go to another page,
and log entries loaded all. But after the dropdown "Show entries (page length)" the pagination working fine.

@agusmakmun agusmakmun added bug Something isn't working help wanted Extra attention is needed labels Jul 10, 2019
@ks-manish
Copy link

ks-manish commented Dec 16, 2019

In function fnDisplayEnd in jquery.dataTables.min.js
fnDisplayEnd: function () { **_var a = this._iDisplayLength_**, b = this._iDisplayStart, c = b + a, d = this.aiDisplay.length, e = this.oFeatures, f = e.bPaginate; return e.bServerSide ? !1 === f || -1 === a ? b + d : Math.min(b + a, this._iRecordsDisplay) : !f || c > d || -1 === a ? d : c }

var a is being initialized as string somehow...which is causing issue. On changing page length from dropdown this var is getting initialized as number.
on parsing it to Int as var a = parseInt(this._iDisplayLength) ,it works fine.

agusmakmun added a commit that referenced this issue Aug 6, 2020
agusmakmun added a commit that referenced this issue Aug 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants