Page MenuHomePhabricator

Media search results not in order
Closed, ResolvedPublic1 Estimated Story Points


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.

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":

Screen Shot 2015-10-20 at 10.50.18 PM.png (607×969 px, 524 KB)

And the last results from that search:

Screen Shot 2015-10-20 at 10.51.07 PM.png (597×977 px, 390 KB)

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

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

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.