This project is not covered by Drupal’s security advisory policy.

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

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • Module categories: Site Search
  • Created by 2dareis2do on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases