Closed (won't fix)
Project:
Module Filter
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Feb 2009 at 12:04 UTC
Updated:
12 Mar 2011 at 15:30 UTC
It would be nice if autocomplete would just search within the currently selected tab.
Yes, I know it's not easy - drupal autocomplete can't make use of anything except a simple URL, and it doesn't even notice if you fiddle with that URL via dom manipulation :) I guess you'd have to duplicate autocomplete.js and change it to not cache the target URL, then fiddle this URL with it during tab-switch, and add an extra arg to the autocomplete function
module/autocomplete/[tabname]/[letters]
Comments
Comment #1
greenskin commentedI do like the idea, though I agree it doesn't look to be easy. I'm wondering if it might simply be better to make a custom autocomplete which doesn't make a separate URL call but looks through the visible rows.
Comment #2
greenskin commentedWe (realityloop and myself) felt the autocomplete functionality was redundant to what the filter input does so it has been removed.