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
Comment #1
DrupalDriven commentedHello 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.
Comment #2
Eugene Fidelin commentedComment #3
Eugene Fidelin commentedThis 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.
Comment #4
DrupalDriven commented