Advanced search allows checking contradictory options for linked branches

Bug #531337 reported by Jonathan Lange
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Karl Fogel

Bug Description

The advanced search page has checkboxes for the following two options:

  Show only bugs with linked branches
  Show only bugs without linked branches

The "only" makes these instructions mutually contradictory. By default, both of these are checked at the same time.

Related branches

Revision history for this message
Eleanor Berger (intellectronica) wrote : Re: [Bug 531337] [NEW] Advanced search allows checking contradictory options for linked branches

On 3 March 2010 13:14, Jonathan Lange <email address hidden> wrote:
> Public bug reported:
>
> The advanced search page has checkboxes for the following two options:
>
>  Show only bugs with linked branches
>  Show only bugs without linked branches
>
> The "only" makes these instructions mutually contradictory. By default,
> both of these are checked at the same time.

I think a nice solution would be to add some Javascript magic that
only allows one or neither option to be toggled.

Revision history for this message
Deryck Hodge (deryck) wrote :

I think Jono is saying it's the "only" that is the problem.

You actually need both to get the default search results, which makes sense if you think about it. Bug lists have both bugs with branches and bugs without branches. Perhaps this could be better, I'll admit, but I think it's nice compared to the other options presented during review/UI review.

Changed in malone:
importance: Undecided → High
status: New → Triaged
tags: added: trivial ui
Karl Fogel (kfogel)
Changed in malone:
assignee: nobody → Karl Fogel (kfogel)
status: Triaged → In Progress
milestone: none → 10.03
Revision history for this message
Karl Fogel (kfogel) wrote :

Yes, the fix is just to remove the word "only" from the options.

Branch coming up...

Revision history for this message
Karl Fogel (kfogel) wrote :

Note: in discussion with intellectronica and deryck, we agreed that a slightly better fix (UI-wise) would be to keep the word "only" but make the two options mutually exclusive -- add JavaScript to ensure they can't both be checked, or that one unchecks whenever the other one is checked.

However, that would be a much higher-overhead change. Cost/benefit analysis leads us to still prefer the simpler solution (just remove the word "only"). If someday we spend a cycle improving Advanced Search, we can do the other solution.

Revision history for this message
Ursula Junque (ursinha) wrote : Bug fixed by a commit
Changed in malone:
status: In Progress → Fix Committed
tags: added: qa-needstesting
Deryck Hodge (deryck)
tags: added: qa-ok
removed: qa-needstesting
Karl Fogel (kfogel)
Changed in malone:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.