Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It would be great to have an integration with High-performance JavaScript callback handler module to improve the time of loading results.
Comment | File | Size | Author |
---|---|---|---|
#10 | autocomplete_deluxe-js_callback_integration-2791197-10.patch | 3.91 KB | jstoller |
#9 | autocomplete_deluxe-js_callback_integration-2791197-9.patch | 3.87 KB | quotesBro |
Comments
Comment #2
Alex Bukach CreditAttribution: Alex Bukach commentedHere's the patch that provides such integration.
Comment #3
Alex Bukach CreditAttribution: Alex Bukach commentedAdded update hook.
Comment #4
Alex Bukach CreditAttribution: Alex Bukach commentedFixed fallback behaviour.
Comment #5
LNakamura CreditAttribution: LNakamura at Mediacurrent commentedHi, @alex-bukach - thanks for the patch!
Ironically, it doesn't apply completely right now due to your patch for #2745707: Autocomplete not handling special characters being merged in :-)
Could you take a look and provide an update to the first part of the patch to the .js file?
Thanks!
Comment #6
LNakamura CreditAttribution: LNakamura at Mediacurrent commentedComment #7
Alex Bukach CreditAttribution: Alex Bukach commented@LNakamura here you are.
Comment #8
LNakamura CreditAttribution: LNakamura at Mediacurrent commentedHi, @alex-bukach - thanks for the update!
#7 applied successfully, so I ran
updb
. However, when I click on an Autocomplete Deluxe widget, I see no suggestions in the dropdown, and in the console I see a 404 error on the GET of http://drupalvm-d7.dev/autocomplete_deluxe/taxonomy/field_multi_term_ref...I think I know what the problem is. If I'm looking in the right place, it appears that your update hook (which did indeed run) didn't make the change you wanted it to make. This is what I see in the
field_config_instance
table for the field which is generating the 404 error:Finally, one very minor point - a typo in comment at the top of autocomplete_deluxe_taxonomy_callback():
should be:
Comment #9
quotesBro CreditAttribution: quotesBro commentedComment #10
jstollerFix coding standards in autocomplete_deluxe.install and "file does not exist" error when applying the patch.