martijnboland / MvcPaging

ASP.NET MVC Paging HTML helper
https://blogs.taiga.nl/martijn/2008/08/27/paging-with-aspnet-mvc/
MIT License
290 stars 144 forks source link

Use the customized defaults #73

Closed TheCloudlessSky closed 6 years ago

TheCloudlessSky commented 6 years ago

Right now, if you set defaults (e.g. Defaults.NextPageText), it's always being ignored. When you use new PagerOptions() it uses DefaultDefaults.NextPageText!

This PR fixes this and all other default options so that new PagerOptions() uses the customized defaults.

martijnboland commented 6 years ago

Thanks a lot, that was a truly stupid bug :-).