Page MenuHomePhabricator

Date in search results is confusing when changing sort order
Open, Needs TriagePublic

Description

The search results display the date & time of the last edit in green under each search result (in green). With advanced search or the URL-parameters it's possible to change the order of the search results to be sorted by the date of article creation.
Users now might expect the date to show the date of article creation – since they asked for it to be the sorting criterion – but it's still the date of the last edit. This confuses users. (Report of a user)

We should show the creation date in those cases or make it more visible that the date is the timestamp of the last edit.

Event Timeline

Restricted Application added a project: TCB-Team. · View Herald TranscriptAug 5 2019, 3:57 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
debt moved this task from needs triage to UI tickets on the Discovery-Search board.Aug 8 2019, 5:05 PM
debt added a subscriber: debt.

Moving this to our backlog, as we don't have front-end resources at this time, ugh.

awight added a subscriber: awight.Aug 12 2019, 8:22 AM

This hook might allow us to change the search results query and rendering: https://www.mediawiki.org/wiki/Manual:Hooks/SpecialSearchResults

We are already using this hook SpecialSearchResultsPrepend
It might be possible to use it for this case as well.