Needs work
Project:
Views Reference Filter
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
19 May 2014 at 15:03 UTC
Updated:
18 Nov 2018 at 11:38 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
maximpodorov commentedIt's a not trivial change because of AJAX used in autocomplete widgets. So I'd prefer to wait for a patch from someone interested in this functionality.
Comment #2
antiorario commentedThis is my attempt at adding an autocomplete widget to the exposed filter. This is what the patch does:
Because of what I believe is a limitation of Entity Reference, the autocomplete field can search only in properties and fields of the main entity of the reference display.Comment #5
antiorario commentedNew patch.
Comment #8
maximpodorov commentedAny reviews?
Comment #9
luco commentedhello,
I'm interested. I'll try this patch out and let you know. many thanks!
cheers
Comment #10
luco commentedsorry, I tested the latest patch against the latest dev version and it didn't work.
Comment #11
antiorario commented@luco What didn't work? Was the patch not applied, or did it not do what it was supposed to do? Any more details will be very helpful.
Comment #12
amirtaiar commentedI can confirm the patch at #5 work for me.
Thanks antiorario!
Comment #13
maximpodorov commentedCould anybody else confirm the patch solves the problem?
Comment #14
thelinhuk commentedI can confirm that patch #5 working perfectly .. it would be great if it doesnt show the node id on the filter..
Comment #15
antiorario commented@thelinhuk That's how entity-reference autocomplete fields work, unfortunately. We have to sacrifice aesthetics for efficiency.
Comment #16
monsterplant commentedThe patch is working great. However when I use it, it inserts a default value 'All' into the exposed field. Is there a way to remove this or translate it?
Comment #17
enboig commentedThe #2270315-5: Add autocomplete widget patch works for me for single selection filters, but fail for multiple selection filters.
Comment #18
enboig commentedCould the "all" text be removed?
Thanks.
Comment #19
devad commentedHi.
I didn't try Chosen module compatibility with Views Reference Filter module, so I don't know if my suggestion is completely valid... but for select lists with many items Chosen module can be handy in most cases.
Comment #20
lazzyvn commentedpatch #5 is obsolete it doesn't work with new version (remove method get_view_args)
i repatch with new version