ytti / oxidized-web

Web UI + RESTful API for Oxidized
120 stars 72 forks source link

no way to control default pageLength? #265

Open athompson-merlin opened 5 months ago

athompson-merlin commented 5 months ago

There doesn't seem to be any way to change the default pagination ("pageLength", in the source) from "20" to something more useful. I can't even figure out how to do it in source - the default of 20 appears to be an emergent property.

Am I missing something?

I think this belongs here, not ../oxidized itself, please let me know if I'm wrong.

robertcheramy commented 5 months ago

This could be done by adding pageLength: 50 to the table options

The question is: what is a 'something more useful' ;-) I'm happy with the actual default, but I understand that some may want an other value.

Needs #264 to be implemented first (set the default in the configuration)

athompson-merlin commented 5 months ago

Ah, I see what you mean about 264. However, that was enough of a clue to let me monkeypatch my running instance to behave more sensibly for us, thank you!

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 90 days with no activity.