Problem/Motivation
I'm trying to use this module on a Search API view. But it is impossible to change the settings. I get the following error:
Uncaught
Object { message: "\nEr is een AJAX HTTP fout opgetreden.\nHTTP-resultaatcode: 200\nDebug informatie volgt.\nPad: /admin/structure/views/ajax/display/event/event_overview_page/style_options\nStatustekst: OK\nAntwoordtekst: Error: Call to undefined method Drupal\\search_api\\Plugin\\views\\row\\SearchApiRow::getEntityTypeId() in Drupal\\views_split\\Plugin\\views\\style\\Splitview->buildOptionsForm() (line 99 of /app/web/modules/contrib/views_split/src/Plugin/views/style/Splitview.php).", name: "AjaxError", stack: "@http://shn-binnenplaats.lndo.site/core/misc/ajax.js?v=9.4.2:110:32\n@http://shn-binnenplaats.lndo.site/core/misc/ajax.js?v=9.4.2:676:3\n" }
Steps to reproduce
Create a view with a search index instead of just content. Change to a split view and click settings.
Comments
Comment #2
domosapiens commentedAlso tried the dev version, but I get the same error.
Comment #3
rene bakxNot sure how to fix this, Does search_api let you adjust the render mode of an indexed item?
Comment #4
domosapiens commentedYes...you can select the view mode you want. But in the search API view list all the content types with a selectbox for selecting a view mode.