- π§πΆCaribbean Netherlands calbasi Catalonia
It seems your patch can NOT be applied on last module versions 1.8.0:
- Installing drupal/similarterms (1.8.0): Extracting archive
- Applying patches for drupal/similarterms
https://www.drupal.org/files/issues/2021-06-30/1762448-other-entity-type... β (Support other entities than nodes)
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2021-06-30/1762448-other-entity-type... βIn Patches.php line 326:
Cannot apply patch Support other entities than nodes ( https://www.drupal.org/files/issues/2021-06-30/1762448-other-entity-type... β )!
- Status changed to Needs work
4 days ago 7:27pm 5 March 2025 - πΊπΈUnited States loze Los Angeles
Thanks, this got it working for me with commerce_product entities, and think this is on the right track.
This also needs to do the following.
1. Check if the taxonomy_entity_index module exists first and only perform these changes if it does.
2. Instead of just supporting commerce_product entities it should loop through all available content entities and provide the joins for any content entity.I need this for my project so I will try to provide a patch.
- πΊπΈUnited States loze Los Angeles
I've made some updates to the MR.
1. It checks if taxonomy_entity_index is enabled, and defaults back to using the taxonomy_index table if it is not.
2. the views fields/args now supports all content entities.
I have also updated the patch on β¨ Provide views join on BASE_TABLE_field_data Needs work which is required for this to work.
Everything appears to be working as expected on my local site and I can now use this module with products and other entities.
attached is a patch for composer