Just found how... I think... pretty impressive this module...

page_nr = request.params.get('page_nr', 1)
q = request.params.get('q')
rs = Session.query(Search).filter(Search.q.like('%'+q
+'%')).order_by('q asc')
c.page = h.Page(rs, count=rs.count(), page_nr=page_nr,
items_per_page=25, q=q)

Would be nice if we can change the «page_nr» param

Blaise
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to