• JoeOuts
  • 97.4% (Exalted)
  • YAF Developer Topic Starter
14 years ago
Minor problem with paging on the active topics page.

When you select a time range that brings up multiple pages of posts and you select anything greater than page one.

Then select one hour from the Since dropdown which should bring up only 1 page of posts.

This causes no data to display because the Pager.CurrentPageIndex was not reset to 0

Add Pager.CurrentPageIndex = 0 to Since_SelectedIndexChanged in active.acsx.cs

protected void Since_SelectedIndexChanged(object sender, System.EventArgs e)
Pager.CurrentPageIndex = 0;
KASL Technologies  - Specializing in Custom Web Application Development

  • mddubs
  • 100% (Exalted)
  • YAF Developer
14 years ago
Thanks Joe. I'll add it to source when I get back in town and boot my system back up.

www.bunkerhollow.com  | www.careercomputing.com 
When I post fp:mddubs in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Mek 🙂, who stole this off Ederon 🙂 )
  • Jaben
  • 100% (Exalted)
  • YAF Developer
14 years ago
Thanks for the bug report.
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button