Install
Works with Drupal: ^10.3 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
32.34 KB
MD5: fbaa9ac388bf683c8f2f4e38f0b67603
SHA-1: 7815bd4a8fc08c66a7a4c55aebdbcf6c714662b9
SHA-256: 36198052f05ccb2160616908739a0b101785a3f9b3b01dea0f6872cf06aa73d9
Download zip
46.41 KB
MD5: 3a0fd68efb3b5021f5b33ff967625ee9
SHA-1: b40fb93827eea667edde5558a8b7cf92f86d5d43
SHA-256: 83d7e6bacadc2185936a62a9954b38ba05ee8ddbd979ac3cc73c3854bccc087a
Release notes
New Features & Improvements
- Require Exposed Filters Option: Added a
require_filtersquery setting to skip HTTP requests when all exposed filters are empty. This prevents400 Bad Requesterrors on external endpoints that mandate search criteria. - Custom Guidance Prompt Message: Added a configurable
require_filters_messagetextarea in query settings to guide visitors to apply search filters before displaying results. - Empty Area Prompt Rendering: Automatically displays an informational alert (
alert-info) when filter requirements are active and no exposed inputs have been submitted yet. - Automated Unit Tests: Added PHPUnit unit test coverage for the filter requirement logic (10 tests, 31 assertions passing).
Changes
- Updated
HttpClientQueryplugin options, form definition, and execution logic. - Updated
views_http_client_views_pre_render()hook to inject guidance prompts into the empty region. - Updated
config/schema/views_http_client.views.schema.ymlconfiguration schema definitions.