The search API pages integration does not work for me after updating to alpha 3. I am able to configure it but the search pages block does not contain the auto complete functionality like it did in the alpha 1 and alpha 2 version. I have checked and confirmed that all of the settings are correct.
The search view integration does work as expected.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 2903830-pages-integration-broken.patch | 1013 bytes | davy-r |
Comments
Comment #2
chrissnyderFound the issue can be solved by accounting for the new ID format in the block form alter.
Comment #3
drunken monkeyThanks for reporting this problem!
Your suggested solution might work in most cases, but it's not completely correct (since that ID is not guaranteed). Instead, we should do the same as for the Views integration – see the attached patch (and please test!).
Sorry for not thinking about this during the change.
Comment #4
davy-r commentedThe latest patch fails with: "Error: Call to undefined method Drupal\search_api_autocomplete\Entity\SearchStorage::loadByType() in search_api_autocomplete_form_search_api_page_block_form_alter() (line 157 of modules/contrib/search_api_autocomplete/search_api_autocomplete.module)."
Comment #5
davy-r commentedComment #6
davy-r commentedComment #7
drunken monkeyAh, right, that changed again …
Thanks a lot, looks great. Committed.
Thanks again, everyone!