Ticket #7523 (closed defect: duplicate)
[PATCH] - Query pagination fails without any filters.
| Reported by: | mizuno@… | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | ticket system | Version: | 0.11-stable |
| Severity: | normal | Keywords: | needinfo verify query paginate |
| Cc: |
Description
How To Reproduce:
- Go to Custom Query.
- Remove any filters and update.
- Click any page link except page 1.
- You get same results as page 1 and paging link disappers.
System Information:
- the Operating System: Solaris 10
- the Python version used: 2.5.2
- the database backend and their bindings: sqlite pysqlite3
Cause:
- Query uses a previous result even if the page number changes unless query_constraints (i.e. filters) change.
- With filters, query returns the addition of previous results and filtered results, so pagination works expectedly.
- Without any filters, query returns just the same results as previous. It means the result has as match item as max item per page and paging link disappers.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


