Problem/Motivation

similar to #2362065: Sort autocomplete of issue tags descending by usage count *in the issue metadata form*
there is a autocomplete for tags on the issue queue advanced search page

Proposed resolution

have the results sort on the issue queue advanced search page with the most used at the top.

Remaining tasks

User interface changes

Tags are sorted by usage.

API changes

Test the patch: https://autocomplete-drupal.redesign.devdrupal.org drupal/drupal bacon/bacon

Screenshots from patch #8

"Novice"

"Security"

"Usability", on all queues

Regression test:

Comments

drumm’s picture

Project: Drupal.org customizations » Project issue tracking
Version: 7.x-3.x-dev » 7.x-2.x-dev
Component: Code » Issues

This should be implemented in Project Issue module, where the rest of the Issue-Tags-related, and SearchAPI hook implementation, code lives.

yesct’s picture

webchick’s picture

Yeah, agreed. It's actually very confusing that it doesn't work the same way now.

cilefen’s picture

@drumm Can we spin up a dev site for this?

drumm’s picture

Are you ready to start work on this in the near future?

cilefen’s picture

I'm at the new Blink Reaction headquarters looking at it right now.

drumm’s picture

autocomplete-drupal.redesign.devdrupal.org will complete buildout in about 2h30m

cilefen’s picture

Status: Active » Needs review
StatusFileSize
new1.7 KB
cilefen’s picture

@drumm Thank you. I think I've got it with that patch, but we need to verify.

cilefen’s picture

It works for me. Everyone, please test. https://autocomplete-drupal.redesign.devdrupal.org drupal/drupal bacon/bacon

Screenshots are in the summary.

cilefen’s picture

Issue summary: View changes
webchick’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new77.19 KB
new46.74 KB

Looks great! Code, too. Let it be so. :D

Before:

After:

WIN.

  • drumm committed 59f21b0 on 7.x-2.x authored by cilefen
    Issue #2398379 by cilefen: Sort autocomplete of issue tags descending by...
drumm’s picture

Status: Reviewed & tested by the community » Fixed
Issue tags: +needs drupal.org deployment
drumm’s picture

Issue tags: -needs drupal.org deployment

Now deployed on Drupal.org.

yesct’s picture

Thank you!

Status: Fixed » Closed (fixed)

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