When looking up a title, the matches are listed by relevance not chronologically.

I'd like to see the ability to per profile have an option to set "Sort results chronologically" which would modify the fetchResults($search_string) query which would add a $query->propertyOrderBy to the results.

Let me know if anyone else is interested in this, I could write a patch if others would find this helpful.

Comments

anon’s picture

Status: Active » Closed (won't fix)

This could be altered.

/**
 * Implements hook_query_TAG_alter().
 */
function mymodule_query_linkit_entity_autocomplete_alter(&$query) {
  $query->propertyOrderBy('created', 'ASC');
}

or something like that.