Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Search API Views Ajax

No security coverage Under active development

Part of the Search ecosystem · 126 projects

This module allows search results in an AJAX-enabled view to be updated asynchronously. It also updates the browser's query string and history, enabling bookmarking and navigation using the back button.

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

Ask your assistant about Search API Views Ajax

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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 PHP Release date
1.0.x-dev Dev 9–11 Sep 19, 2023