- π¬π§United Kingdom kenorb
This patch generates the error in the newer version of Search API:
php Error Drupal\Component\Plugin\Exception\PluginException: Plugin (search_api_node) instance class "Drupal\search_api\Plugin\views\filter\SearchApiNode" does not exist. in Drupal\Component\Plugin\Factory\DefaultFactory::getPluginClass() (line 97 of web/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php).
I think it needs to register its new class in search_api.services.yml
- πΊπΈUnited States joshuami Portland, OR
Now that Fix label token replacement for views entity reference arguments π Fix label token replacement for views entity reference arguments Fixed has landed in 10.3, this should probably be rewritten as a
/src/Plugin/views/argument/SearchApiEntity.php handler instead of targeting just node. That might allow for the removal of
/src/Plugin/views/argument/SearchApiTerm.
Adding a related issue that was probably incorrectly attributed to subpathauto: Views contextual filter replacement pattern doesn't use referenced entity's title available π Views contextual filter replacement pattern doesn't use referenced entity's title available Postponed .
- π¦πΉAustria drunken monkey Vienna, Austria
@joshuami: I agree, that would make sense. Thanks for bringing it up!
However, note that we still want to support Drupal 10.2 until its EOL in December, so any MR depending on this change (unless it makes it into Drupal 10.2, too) couldnβt be merged until then. Still probably the way to go.