localgovdrupal / localgov_search

Default sitewide search implementation for LocalGov Drupal.
GNU General Public License v2.0
0 stars 1 forks source link

Seems element name isn't always set. #1

Closed ekes closed 3 years ago

ekes commented 3 years ago

https://github.com/localgovdrupal/localgov_search/blob/1a6beb04df91b0a3e76ee20bcc1b01e1496fbc1c/localgov_search.module#L68

In the entity browser view (example on test at the moment: go to add a location to a venue; also probably if you enable content with the paragraphs browser) there doesn't seem to be an element #name

Notice: Undefined index: #name in localgov_search_views_pre_render() (line 68 of modules/contrib/localgov_search/localgov_search.module).
stephen-cox commented 3 years ago

Fixed with https://github.com/localgovdrupal/localgov_search/commit/4bd95f203f9aa8fcb432b053d14716be94a27e8c