Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Version 12 and Version 13 of Search_Pagination


Ignore:
Timestamp:
03/23/06 02:51:21 (13 years ago)
Author:
fredlin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Search_Pagination

    v12 v13  
    182182    offset = 20 
    183183    start = int(start)*10 
     184    query_size = a.count() 
    184185    end = start+offset 
    185     return dict(context = a[start:end], start = start, offset = offset, query_size = a.count(), end = end) 
     186    return dict(context = a[start:end], start = start, offset = offset, query_size = query_size, end = end) 
    186187}}} 
    187188