XModPro

Update Functions - attn: Patrick Ryan

Jeff M. Jeff M. asked Nov 2, 2018
Active Nov 8 · Viewed 1536 times
<p>Hello..<br>I had previously asked a question about listing departments by grouping with a lettergroup. I was able to get something together and Patrick assisted; see <a href="https://www.dnndev.com/learn/answers/departments-listing-grouping-by-lettergroup" target="_blank">HERE</a>. </p> <p>But now, I have a different page which does a direct link to this page by the lettergroup. So if someone hits the letter "M", it'll go to this page and jump to the "M" section. </p> <p>The issue is that it takes time for the page to populate and sometimes, it'll jump to 'M', but as A-L are loading in, 'M' gets scrolled lower in the page and it's not longer displayed on the page.<br> </p> <p>Using my existing code as an example, is there a way to make the process of loading the lettergroups faster and maybe not so many calls to the database because loadfeed cycles through every letter to bring back the records associated with each lettergroup? </p> <p>Thank you.. </p> <p><a href="http://www.dnndev.com/fiddle/fid/722">http://www.dnndev.com/fiddle/fid/722</a><br><br> </p>

2 Answers

Loading answers...