If you wish to set autocomplete to Contains, replace

user_badges.module @ Line 473

$result = db_query_range("SELECT * FROM {user_badges_badges} WHERE name LIKE '%s%%'", $trimstring, 0, 10);

with

$result = db_query_range("SELECT * FROM {user_badges_badges} WHERE name LIKE '%%%s%%'", $trimstring, 0, 10);

If you have lots of badges, this could worsen performance.

Cheers!

Comments

HLopes’s picture

Status: Needs review » Active

Setting to active &)

NancyDru’s picture

Assigned: Unassigned » NancyDru
Status: Active » Fixed

Committed to 6.x-1.x-dev.

Status: Fixed » Closed (fixed)

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