1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

As Designed Stickies are not counted towards number of threads displayed per page

Discussion in 'Resolved Bug Reports' started by Brogan, Aug 8, 2010.

  1. Brogan

    Brogan XenForo Moderator Staff Member

    The number of threads per page looks to be set to 20.

    However, the Bug Reports and Discussions forums are displaying 21 as there is 1 sticky and the Suggestions forums is displaying 22 as there are 2 stickies.

    Shouldn't stickies be counted towards the total number of threads displayed?
     
  2. Lawrence

    Lawrence Well-Known Member

    This may be by design.

    I seen forums with lots of stickies (in certain categories), so if you subtract the number of stickies from the number of threads, then there may be only a couple of non-stuck threads to display. And if you compensate by increasing the numer of threads to display, then other categories with little or no stickies may have more threads listed than is desired by the Admin.
     
  3. Nick

    Nick Well-Known Member

    ^ Ah, that makes sense.
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    It varies between software so yes, it could be by design.

    I guess Kier or Mike will confirm one way or the other.
     
  5. Dean

    Dean Well-Known Member

    Extremely interesting observation! Good catch.
     
  6. Mike

    Mike XenForo Developer Staff Member

    This is the standard approach. Doing anything else makes calculation of further pages much harder as you have to know how many stickies there are (that you can see).
     
    Abomination likes this.
  7. Brogan

    Brogan XenForo Moderator Staff Member

    Thanks for the confirmation Mike.
     

Share This Page