Hi domidc,
I liked the functionality so I made a drupal 7 version of it, I hope you don't mind. It may have some issues still since I did not do a lot of testing but it works, maybe it is a good starting point.

- It has real i18n support
- it adds ajax views support if views is present
- It adds up to 10 matches with a second %%$term%% query if the LIKE $term%% search has less than 10.

If you like the code you could either commit it as a dev 7 version or allow me be part of the project and commit on it.
Just let me know.

CommentFileSizeAuthor
taxonomy_autocomplete_settings.zip10.79 KBreptilex

Comments

reptilex’s picture

Still there? Have you been able to check my module patch for a 7 version?

rkeppner’s picture

Version: 6.x-1.1 » 7.x-1.x-dev
Assigned: Unassigned » rkeppner
Category: task » feature
Status: Active » Fixed

Thanks for the code, reptilex. I've got it committed to a new 7.x-1.x-dev version, which should show up on the project page soon.

I pretty much just took it as you sent it, just with a bit of code reformatting and rolling in the enhancements I made to the 6.x-1.x version (#1452396: Functionality to change number of results shown).

I do have one question, though. Don't you think there should be an option of whether to add "anywhere" search results if the "from beginning" search results aren't full? When testing, I was very confused whether it was working correctly, since I typed in a letter and got a list of terms that didn't start with that letter. Only after experimenting for a while and dissecting the code was I able to determine that this was the desired behavior.

In any case, I'll move that to another issue, so that I can close this one.

rkeppner’s picture

Status: Fixed » Closed (fixed)

I've moved the issue of the new functionality to #1465954: Make second search to fill term results an optional feature, so I'm closing this issue as fixed. If there are any questions or problems, please create another issue.