Reordering the suggestion types within the configuration screens (using row weights) does not have any affect on the ordering of the suggestion types within the auto-complete drop-down.

This can be fixed by editing "search_autocomplete.module" and adding "ORDER BY s.sug_weight ASC" to line 47 so that line 47 looks as below:

$result = db_query('SELECT * FROM {search_autocomplete_suggestions} s WHERE s.sug_fid = :fid AND s.sug_enabled = :sug_enabled ORDER BY s.sug_weight ASC', array(':fid' => $fid, 'sug_enabled' => 1));

This then allows the user to configure the order based on weights.

Comments

dom.’s picture

Hi!

Thanks a lot for report and fix. Definitely will be added on next release !

Miro.

dom.’s picture

Status: Patch (to be ported) » Fixed

Should be fixed in 7.x-2.3 !

Miro.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.