I would like to hear what you think the query on url alias being opened up a bit so that its easier to type things in and find them. For example consider the url "media/videos/animals/funkey-monkey" with the current query if I just type "funkey-monkey" it won't find anything.

This could be easily remedied by changing the query from:
SELECT dst FROM {url_alias} WHERE dst LIKE lower('%s%%') ORDER BY dst ASC
to:
SELECT dst FROM {url_alias} WHERE dst LIKE lower('%%%s%%') ORDER BY dst ASC

Thanks
Chris

Comments

DrupalDriven’s picture

Assigned: Unassigned » DrupalDriven
Status: Active » Needs work

Hello Chris.

Thanx for suggestion. For now we display url aliases that start with specified string.
In new version i will add option to allow filter aliases that contains string in any part.

Eugene Fidelin’s picture

Assigned: DrupalDriven » Eugene Fidelin
Issue tags: +code sprint drupal night ua 2012
Eugene Fidelin’s picture

Status: Needs work » Closed (fixed)

This feature is implemented.

In field settings you can specify whenever you want to search for url aliases that start with specified string or contain it.

DrupalDriven’s picture

Status: Closed (fixed) » Fixed

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