Closed (fixed)
Project:
Taxonomy Autocomplete Settings
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Feature request
Assigned:
Reporter:
Created:
23 Jan 2012 at 11:24 UTC
Updated:
3 Mar 2012 at 05:33 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| taxonomy_autocomplete_settings.zip | 10.79 KB | reptilex |
Comments
Comment #1
reptilex commentedStill there? Have you been able to check my module patch for a 7 version?
Comment #2
rkeppner commentedThanks 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.
Comment #3
rkeppner commentedI'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.