这是indexloc提供的服务,不要输入任何密码
Skip to content

Increase default rows per page on html report #217

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

Merged
merged 3 commits into from
Apr 19, 2020

Conversation

Daviey
Copy link
Contributor

@Daviey Daviey commented Apr 16, 2020

Previously 10 results were displayed per-page, as the
default of DataTables. This change increases the default to
250 results per page and also adds the option for 250, 500,
1000, 2500 and ALL results.

In addition, materialize css default was blocking the
viewing of the option to display alternative results
per-page. This is resolved by calling .formSelect as per
https://stackoverflow.com/questions/28258106/materialize-css-select-doesnt-seem-to-render

Fixes #216

Signed-off-by: Dave Walker (Daviey) email@daviey.com

Previously 10 results were displayed per-page, as the
default of DataTables.  This change increases the default to
250 results per page and also adds the option for 250, 500,
1000, 2500 and ALL results.

In addition, materialize css default was blocking the
viewing of the option to display alternative results
per-page.  This is resolved by calling .formSelect as per
https://stackoverflow.com/questions/28258106/materialize-css-select-doesnt-seem-to-render

Fixes ffuf#216

Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
@joohoi
Copy link
Member

joohoi commented Apr 16, 2020

Thanks for the PR! This looks great! I tried to poke this exact issue before but didn't figure out a solution.

I'll review this PR later today, but could you add entry to CHANGELOG.md for this change and add yourself to CONTRIBUTORS.md file within this PR meanwhile?

Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
@Daviey Daviey closed this Apr 16, 2020
@Daviey Daviey reopened this Apr 16, 2020
Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
Copy link
Member

@joohoi joohoi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Awesome, thanks!

@joohoi joohoi merged commit e4628ff into ffuf:master Apr 19, 2020
@Regala
Copy link

Regala commented Jul 1, 2020

Hey this change isn't in v1.0.2 yet correct?

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

Successfully merging this pull request may close these issues.

Display more results per page and provide option to change
3 participants