Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.