Problem/Motivation

Search Results block form does not retain the saved Yext Answers Page value.
(it is saved correctly, however revisiting the block configuration does not show the saved value and saving again without reentering the value will overwrite the saved value, which is confusing!)

Steps to reproduce

Add a Yext Search Results block to a page.
Configure the block, including setting the Yext Answers Page value and Save the block

View the Block Layout page and click "Configure" on the Yext Search Results block.
The Yext Answer Page field will be empty

Proposed resolution

Fix the array key on line 68 of ~/src/Plugin/Block/YextSearchResults.php
It should be 'yext_search_results'

Issue fork yext-3227540

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Chris--S created an issue. See original summary.

chris--s’s picture

carnavallaj’s picture

Assigned: Unassigned » carnavallaj
Status: Active » Fixed

Thank you for bringing this to our attention! The fix that you suggested has been applied and the issue should be resolved in the newest release!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.