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

Fixed All/Paid/Free pagination issue

Discussion in 'Resource Manager Resolved Bugs' started by Luxus, Apr 11, 2013.

  1. Luxus

    Luxus Well-Known Member

    I have noticed that the pagination of the resource manager always takes 'All' add-ons into account.
    Go to the resource manager, and scroll down. You will see 71 pages. Go to page 71. All good.

    Now make the resource manager display only paid add-ons by clicking at the 'paid' tab. Scroll down and you will see again 71 pages. Go to page 71. Nothing there. Go to page 70. Nothing there. Go to page 69. Nothing there. And so on.

    The same applies to all 'free' add-ons as well.
     
    Lycaon, Luke F and sandis like this.
  2. Jon W

    Jon W Well-Known Member

  3. erich37

    erich37 Well-Known Member

    why not just use Prefixes and sort "Paid / Free" via Prefixes ?
     
  4. Jon W

    Jon W Well-Known Member

    Resources don't have prefixes.

    This problem is that a cached count is used instead of actually using an extra query to count resources. But only the full count is cached and there is no cached count of the number of paid or free resources. So, either a new cache will need to be added, a new query will need to be added if paid or free is selected, or we have to accept that this is "as designed" and that there will be blank pages if we select paid or free.
     
    Luxus and xf_phantom like this.
  5. Mike

    Mike XenForo Developer Staff Member

    Blue makes sense, but would be too big of a scope for 1.0.
    Red is what will happen in the short term.
     
    Jon W likes this.
  6. Mike

    Mike XenForo Developer Staff Member

    Fixed now.
     

Share This Page