Making WordPress.org

Opened 8 years ago

Closed 8 years ago

#2540 closed defect (bug) (fixed)

Rosetta: When adding someone as a PTE, exact matches should come first

Reported by: sergeybiryukov's profile SergeyBiryukov Owned by: ocean90's profile ocean90
Milestone: Priority: low
Component: International Sites (Rosetta) Keywords: needs-patch
Cc:

Description

When adding someone as a PTE for Contact Form 7, the plugin is not on the first page of results. I think exact matches should come first.

See the screenshot.

Attachments (1)

meta-2540.PNG (43.9 KB) - added by SergeyBiryukov 8 years ago.

Download all attachments as: .zip

Change History (4)

#1 follow-up: @ocean90
8 years ago

  • Keywords needs-patch added
  • Priority changed from normal to low

The list is using the string_score library to sort the results, see [2548].

#2 in reply to: ↑ 1 @SergeyBiryukov
8 years ago

Replying to ocean90:

The list is using the string_score library to sort the results, see [2548].

Hmm, not sure if it works as expected then, the screenshot looks like a simple alphabetical sorting (just checked again).

#3 @ocean90
8 years ago

  • Owner set to ocean90
  • Resolution set to fixed
  • Status changed from new to closed

In 5048:

Rosetta Roles: Don't use the escaped search term for calculating the match score.

Fixes #2540.

Note: See TracTickets for help on using tickets.