"Autocomplete matching" option

aded - June 15, 2009 - 14:56
Project:Big Autocomplete TAXonomy
Version:6.x-1.5
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi all,

what about an option for choosing the autocomplete matching type, like in CCK? In CCK there are two options, "contains" and "starts with". (I had to modify batax.module:180 to obtain a "contains" option).

Bye,
aded

#1

joshpodcast - July 20, 2009 - 03:40

how did you add the contains option?

#2

aded - July 20, 2009 - 17:14

I didn't add an option, I force the module to always search in "contains mode". You have to add two "%" in "LOWER", so the query at line 180 should be

"(...) LOWER('%%%s%%')"

Bye,
aded

PS: I'm still not so familiar with Drupal API, but I could write a patch in few days (I have to finish a job, now).

PPS: I apologize for my bad english. :-)

#3

sharadaprasad - August 3, 2009 - 02:40

I would love 'contains' option with case ignored.

#4

sdrycroft - August 5, 2009 - 10:00
Status:active» fixed

Added to 1.6

#5

System Message - August 19, 2009 - 10:10
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.