
Nb téléchargements :
31318
Components
- Code
- Documentation
- Miscellaneous
- User interface
- New release
Licence
http://www.gnu.org/licenses/old-licenses/gpl-2.0.htmlpermet de créer des filtres de recherche en autocomplete
Release
Status : Published
Projects : Modules
Maintenance status : Minimally maintained
Development status : Maintenance fixes only
Supported Branches :
8.x-1.
8.x-1.4
released
02 March 2023
Works with Drupal:
^8 || ^9 || ^10
Install:
composer require 'drupal/views_autocomplete_filters:^1.4'
Covered by Drupal's security advisory policy
Release type : Bug fixes Release type : New features
Description
Add autocomplete functionality to the views filter text fields.
- It works for node titles or cck text fields.
- The autocomplete results are actually the view results, so they are view related.
How to use it:
(New) Video Tutorial : Drupal 7 Views Autocomplete Filter Tutorial
- *** The filter field should also in the view list of the fields
- You just have to check Use Autocomplete checkbox in the filter expose settings.
- (D7) Pay attention to the "Field with autocomplete results" options - an autocomplete setting
- Known issue : Unexpected error message such -
Field with autocomplete results is not selected for Content: Title filter in Defaults (default) display.
Solution : Check the MASTER (default) Display, probably the autocomplete field was removed (#1748900: Field with autocomplete results is not selected)
To get the MASTER (default) Display check the Views Settings page
Administration > Structure > Views > Settings (admin/structure/views/settings)
Tips & Tricks:
- To work as you wish you have to make the right choice for the operator of filter field, most likely to use "Contains"
- For referenced entities (entity reference, node references, term reference) use referenced entity fields for the filters with the right relationships.
- *** If you have more titles fields defined in fields and/or filters the correspondence between field & filter must be right
for example: if field is title_2 then also the filter field should be title_2
*** Not sure if these are still a must
Sponsored by: TOP EXPRESS
Initially sponsored by: viennaresidence
Toutes les informations proviennent du site drupal.org