Edgewall Software

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#12647 closed defect (fixed)

Query page ignores max parameter when its parameter is only max parameter — at Version 2

Reported by: Jun Omae Owned by: Ryan J Ollos
Priority: normal Milestone: 1.0.17
Component: query system Version: 1.0.11
Severity: normal Keywords:
Cc: Branch:
Release Notes:

Fixed max ignored when only parameter in query and some parameters not overriding the default query.

API Changes:
Internal Changes:

Description

This issue can be reproduced with query:?max=1. I think query page should respect max parameter.

Change History (2)

comment:1 by Ryan J Ollos, 7 years ago

Milestone: next-stable-1.0.x1.0.16
Owner: set to Ryan J Ollos
Status: newassigned

Related issue. If the default_query includes desc=1 (status!=closed&owner=$USER&order=reporter&desc=1), the order would not be overridden by query:?desc=0.

I don't understand this area in the code well enough to be certain, but here are some changes for review: log:rjollos.git:t12647. Tests are passing for me, but probably more coverage is needed.

comment:2 by Ryan J Ollos, 7 years ago

Release Notes: modified (diff)
Resolution: fixed
Status: assignedclosed

Committed to 1.0-stable in r16272, merged to 1.2-stable in r16273, merged to trunk in r16274.

Note: See TracTickets for help on using tickets.