Modify ↓
Opened 16 years ago
Closed 16 years ago
#7523 closed defect (duplicate)
[PATCH] - Query pagination fails without any filters.
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | ticket system | Version: | 0.11-stable |
Severity: | normal | Keywords: | needinfo verify query paginate |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal 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 (1)
Change History (6)
by , 16 years ago
Attachment: | ticket_query.diff added |
---|
comment:1 by , 16 years ago
Keywords: | needinfo verify added |
---|
follow-up: 4 comment:3 by , 16 years ago
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 by , 16 years ago
comment:5 by , 16 years ago
Resolution: | → duplicate |
---|---|
Status: | new → 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.