Page MenuHomePhabricator

'ghost' result added to end of search results
Closed, ResolvedPublic

Description

If a search returns zero results then the page indicates that you are viewing
"1-0 of 0" results and a single blank result is displayed.

To replicate, enter a word that returns no results, e.g. 'plumboozle' into the
search box and click 'search'.

I tested this on Wikipedia, Wiktionary and Commons with a couple of different
terms, and all exhibited this behaviour.


Version: 1.6.x
Severity: normal

Details

Reference
bz3528

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:51 PM
bzimport added a project: MediaWiki-Search.
bzimport set Reference to bz3528.
bzimport added a subscriber: Unknown Object (MLST).

Created attachment 907
Screen grab of search results for 'plumboozle'

Added screengrab of results page.

Attached:

Search_bug_-_screengrab.jpg (524×1 px, 68 KB)

Created attachment 908
Screen grab of search results for 'handsaw', which gives 5 results

Upon further research, it appears that a blank search result is being added to
the end of the correct results. I have attached a screen grab showing the
results for 'handsaw', where after the 5 actual results, there is a 6th ghost
bug.

I will change the bug title to reflect this new information.

Attached:

Search_bug_-_screengrab_2.jpg (647×1 px, 82 KB)

  • This bug has been marked as a duplicate of 3601 ***