Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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
Comment #1
HLopes CreditAttribution: HLopes commentedSetting to active &)
Comment #2
NancyDruCommitted to 6.x-1.x-dev.