Feature: Jump directly to first result of many (like I'm Feeling Lucky)

treytabner - July 27, 2007 - 01:24
Project:Search 404
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Much like Google's "I'm feeling lucky," this adds a checkbox that lets you enable jumping to the first result in the search if there are multiple results. This is useful for some, for example:

Go to a URL such as:

http://example/name-of-document

Then it takes you to the right place, such as:

http://example/topic/multimedia/real-name-of-document-here

AttachmentSize
search404-first.diff2.1 KB

#1

forngren - August 5, 2007 - 12:40
Version:5.x-1.1» 5.x-1.x-dev
Status:patch (code needs review)» fixed

I tweaked the patch a little bit and commited to 5.x-1.x-dev. Thanks.

(If you want to see it in stable; please review 5.x-1.x-dev on a non-production site)

#2

Anonymous - August 19, 2007 - 13:19
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.