Protoqol / Prequel

Prequel for Laravel. Clear and concise database management. Unfortunately, not actively maintained due to time constraints.
https://packagist.org/packages/protoqol/prequel
MIT License
1.54k stars 96 forks source link

[FEATURE] Default pagination configuration #26

Closed aaronsaray closed 5 years ago

aaronsaray commented 5 years ago

Issue or feature explanation

See issue #25

Proposed solution/change

I added a configuration option. Beta users will need to update their published config. We could also modify this to have a default config() return value, but I really didn't want to do that if at all possible (then we'd have to hard-code 100 all over still, or make a constant)

QuintenJustus commented 5 years ago

Very nice feature and implementation! Just one thing, the config key, something like pagination looks better and makes just as much sense. So if you could change just that it's all good! Thanks for your contribution! :+1:

aaronsaray commented 5 years ago

There - should be all up to date.

QuintenJustus commented 5 years ago

Will be merged in next release.

QuintenJustus commented 5 years ago

Closing now, see 47c57d8cfa355299ef22a4c80119e701ae21cf65 for commit.