#2192 Only one page of ticket results visible

v1.0.0
closed
sf-2 (994)
Tracker
nobody
2015-08-20
2011-05-31
No

Not sure when it started, but I'm only seeing one page of results at a time, no way to get more.

Discussion

  • John Hoffman - 2011-06-01
    • status: open --> in-progress
    • assigned_to: John Hoffmann
     
  • John Hoffman - 2011-06-02

    Rick may have a Ming fix for this, but he's out today.

     
  • John Hoffman - 2011-06-02
    • status: in-progress --> blocked
     
  • John Hoffman - 2011-06-21
    • status: blocked --> validation
     
  • John Hoffman - 2011-06-24
    • status: validation --> open
    • assigned_to: John Hoffmann ☠ --> nobody
    • milestone: jun-24 --> backlog
     
  • John Hoffman - 2011-06-24

    We're now seeing more than 25 tickets (150 on one page for example), but there's still no pagination.

     
  • Dave Brondsema

    Dave Brondsema - 2011-06-27
    • milestone: backlog --> jul-01
     
  • Jenny Steele - 2011-06-28
    • status: open --> in-progress
    • assigned_to: Jenny Steele
     
  • Jenny Steele - 2011-06-29

    Fix is on allura js/2192. To test, create some tickets and make sure paging controls display on the ticket front page and search. You can put something like limit=2 in the url to get paging controls with a smaller number of tickets.

     
  • Jenny Steele - 2011-06-29
    • status: in-progress --> code-review
    • assigned_to: Jenny Steele --> Dave Brondsema
     
  • Dave Brondsema

    Dave Brondsema - 2011-07-01
    • status: code-review --> open
    • assigned_to: Dave Brondsema --> Jenny Steele
     
  • Dave Brondsema

    Dave Brondsema - 2011-07-01

    https://sf-dbrondsema-7020.sb.sf.net/p/f4egfqa/tickets/?limit=3 gives me

    [Fri Jul 01 17:33:45 2011] [error] [client 127.0.0.1] File '/home/dbrondsema/dbrondsema-7024/forge/Allura/allura/templates/widgets/page_list.html', line 4 in top-level template code
    [Fri Jul 01 17:33:45 2011] [error] [client 127.0.0.1]   {{paginator.pager('$link_first $link_previous ~2~ $link_next $link_last (Page $page of $page_count)')}}
    [Fri Jul 01 17:33:45 2011] [error] [client 127.0.0.1] File '/var/local/env-allura/lib/python2.7/site-packages/WebHelpers-1.0-py2.7.egg/webhelpers/paginate.py', line 673 in pager
    [Fri Jul 01 17:33:45 2011] [error] [client 127.0.0.1]   result = re.sub(r'~(\\d+)~', self._range, format)
    [Fri Jul 01 17:33:45 2011] [error] [client 127.0.0.1] File '/var/local/env-base/lib64/python2.7/re.py', line 151 in sub
    [Fri Jul 01 17:33:45 2011] [error] [client 127.0.0.1]   return _compile(pattern, flags).sub(repl, string, count)
    [Fri Jul 01 17:33:45 2011] [error] [client 127.0.0.1] File '/var/local/env-allura/lib/python2.7/site-packages/WebHelpers-1.0-py2.7.egg/webhelpers/paginate.py', line 764 in _range
    [Fri Jul 01 17:33:45 2011] [error] [client 127.0.0.1]   nav_items.append( self._pagerlink(thispage, text) )
    [Fri Jul 01 17:33:45 2011] [error] [client 127.0.0.1] File '/var/local/env-allura/lib/python2.7/site-packages/WebHelpers-1.0-py2.7.egg/webhelpers/paginate.py', line 832 in _pagerlink
    [Fri Jul 01 17:33:45 2011] [error] [client 127.0.0.1]   link_url = url_generator(**link_params)
    [Fri Jul 01 17:33:45 2011] [error] [client 127.0.0.1] TypeError: 'str' object is not callable
    
     
  • Dave Brondsema

    Dave Brondsema - 2011-07-07
    • milestone: jul-01 --> jul-08
     
  • Jenny Steele - 2011-07-08

    Turns out the funky stuff I saw on local was due to having an old version of webhelpers, doh!

     
  • Jenny Steele - 2011-07-08
    • status: open --> code-review
    • assigned_to: Jenny Steele --> Dave Brondsema
     
  • Dave Brondsema

    Dave Brondsema - 2011-07-11
    • status: code-review --> closed
     

Log in to post a comment.