Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Search API Views Ajax

No security coverage

Part of the Search ecosystem · 87 projects

View on drupal.org

Search API Views Ajax faciliates updating a search view asynchronously when using an AJAX enabled view with the Search API module.

Features

In particular it:

  • - Enables updating the query string on a view when using an exposed full text search field. e.g. /projects?search=drupal
  • - Adds a popstate event listener to the DOM to facilitate updating the async enabled view asynchronously when navigating when using the web browser's back
  • button.

This module is useful as it allows users to bookmark and share urls that are
generated using a search api search index and view.

Additionally, Search API Views Ajax also updates the browser history
asynchronously, allowing you to manually navigate back and forth in the browser.
Loading the content currently requires a manual reload in the browser.

Other use cases

This modules primary use case is when using the contributed search_api with a
solr generated index and view. However, this module should also work in other
instances where an exposed `full text search field` is being used with an ajax
enabled view.

Installation

Download and install like any other Drupal module.

Post-Installation

Once installed you may need to clear your cache.

Similar projects

Views Ajax History also updates the query sting and history when
using ajax enabled view. However this also includes the page number which can
lead to undesirable behaviour when navigating back to the page from another tab.

Documentation

Please see README.md

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Sep 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core Release date
1.0.x-dev Dev Sep 19, 2023