Page MenuHomePhabricator

Media search results not in order
Closed, ResolvedPublic1 Story Points

Description

The search results come back in an un-ordered object with each having an 'index' property. Currently we ignore this so results are sorted by ID (i.e. upload date)

Event Timeline

Esanders raised the priority of this task from to Needs Triage.
Esanders updated the task description. (Show Details)
Esanders added a subscriber: Esanders.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 29 2015, 12:43 PM

I recently helped new editors learn how to use VisualEditor at an in-person workshop (funded by an Inspire grant, yay!), and while teaching them how to upload media to Commons and insert it into articles, I needed to explain to them to try looking at the last row of VisualEditor media search results to find their file, which was...sort of confusing.
I believe these VisualEditor media search results are often unfortunately backwards, and I'm just noting that I'm still hoping for this to get fixed - I find that new editors are often excited about adding relevant photos from Commons to articles, since it's fun and immediately rewarding, and I would love for them to have a smoother experience. Thanks!
Here's another example, the first results when searching for "Dahlia Motors":


And the last results from that search:

Change 249726 had a related patch set uploaded (by Esanders):
MediaSearch: Order search results correctly

https://gerrit.wikimedia.org/r/249726

Change 249726 merged by jenkins-bot:
MediaSearch: Order search results correctly

https://gerrit.wikimedia.org/r/249726

Jdforrester-WMF renamed this task from Search results not in order to Media search results not in order.Oct 29 2015, 3:51 PM
Jdforrester-WMF closed this task as Resolved.
Jdforrester-WMF assigned this task to Esanders.
Jdforrester-WMF triaged this task as High priority.
Jdforrester-WMF removed a project: Patch-For-Review.
Jdforrester-WMF set Security to None.
Jdforrester-WMF edited a custom field.