Modify ↓
Ticket #7523 (closed defect: duplicate)
Opened 3 years ago
Last modified 3 years ago
[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: | |||
| Release Notes: | |||
| API Changes: | |||
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
Changed 3 years ago by mizuno@…
- Attachment ticket_query.diff added
comment:1 Changed 3 years ago by osimons
- Keywords needinfo verify added
comment:2 follow-up: ↓ 3 Changed 3 years ago by cboos
Isn't that a duplicate of #7544?
comment:3 in reply to: ↑ 2 ; follow-up: ↓ 4 Changed 3 years ago by rblank
Replying to cboos:
Isn't that a duplicate of #7544?
Yes, it is. However, I don't understand the attachment ticket_query.diff. Does it solve another problem?
comment:4 in reply to: ↑ 3 Changed 3 years ago by mizuno@…
comment:5 Changed 3 years ago by anonymous
- Resolution set to duplicate
- Status changed from new to closed
Ok, closing as a duplicate of #7544.
Note: See
TracTickets for help on using
tickets.



Testing this on current 0.11-stable (r7546), and I don't see what you're seeing. I don't think the platform makes much difference either, so unless the ticket gets verified by others (or more/other information provided) there won't be any progress.