I love, love, love that the advanced search defaults to showing/searching *all* issues now, rather than just "active" ones. However, there are times when it's useful to search only active issues and currently doing this requires cmd+clicking like 10 items.

The main project listing pages have an "- Open issues-" selection that they default to. Could this same selection be added to advanced search?

Comments

webchick’s picture

Issue tags: +drupal.org upgrade

Since this is 'sorta' a regression from pre-D6 drupal.org, tagging appropriately.

dww’s picture

Assigned: Unassigned » dww
Status: Active » Needs review
StatusFileSize
new5.58 KB

Like so?

http://d6.drupal.org/project/issues/search

This actually simplifies the status filter handler code a bit, since I was going out of my way to hide this option in various cases. ;)

While I was at it, I made the following changes:

A) The underlying value is now capitalized as "Open" to be consistent with core view's "All" value.

B) The user-facing label is now <Open issues> to match core view's <Any> label.

C) The <Any> value is always present, even on multi-selects, to address the concern at #379362-10: Add "Advanced search" version of my projects page.

D) Cleaned up some of the internal code to make a little more sense.

Thoughts?

dww’s picture

StatusFileSize
new6.46 KB

Here's a patch that's less lethal for kittens. ;)

A) retained

B) Moved to a views issue: #383242: Change "<Any>" to "- Any -" in exposed filters

C) That was poorly conceived, and belongs at #379362: Add "Advanced search" version of my projects page if it should happen at all. No longer here.

D) retained

http://d6.drupal.org/project/issues/search

dww’s picture

Status: Needs review » Fixed
webchick’s picture

Awesome! Thanks a lot! :D

Status: Fixed » Closed (fixed)
Issue tags: -drupal.org upgrade

Automatically closed -- issue fixed for 2 weeks with no activity.