dirPagination Feature Request: boundary-link-numbers=false
Hi!
Description of issue:
We would like to be able to set the ui-bootstrap boundary-link-numbers property to be false. We also want to enable the ui-bootstrap rotate property. I have found where rotate/ellipses is being set in the code, and can think I can put together a workaround (and maybe an eventual PR to have it be an option) for that.
But where is boundary-link-numbers being set true? I have not been able to find that.
We are using v0.9.4 of angularUtils-pagination, and v0.14.3 of ui-bootstrap
I'm pretty sure the most recent version of angularUtils doesn't address this issue but if I'm wrong please let me know.
So far angularUtils has been straightforward and met all our needs. Thank you!
Hi,
There is no "option" to set boundary-link-numbers to true or false. In the current implementation it is simply hard-coded into the function that generates the page links.
That code would benefit from a re-write so that we can support more config options, similar to ui-bootstrap. However, I've not got the time for that right now.
If you want contribute, then help would be most welcome. If you end up writing a work-around then we can work together to get your changes pulled into the project.
I see! Thank you for pointing out in the code where that is occurring. For the moment, I think a template a user posted as a solution to a similar problem is working for us. It would be great to write a workaround and collab to get it pulled into the project, however I can't make any promises about when I'll be making the time to do that ;).
Thanks again.
I understand if you don't get the time to make the needed changes. I'll leave this issue open as a reminder to myself for the next time I have a bit of time to do it anyway.
Hi Michael - sorry for my delay. Yeah I'm not sure when I'll have time. It is something I would like to do though, for sure. And something our team may revisit. Currently we have some CSS workarounds which are helping.