- Issue created by @batigolix
- 🇮🇳India arunsahijpal
Hi @batigolix,
I've tried this on7.x-dev.zip
on D11 site, as we have to choose the operators according to the amount of items available so I've modified the code with appropriate checks with testing. I am providing a patch which you can test.Just to know that this issue repo has a file which is not there in
7.x-dev
version and this version is causion error
Drupal\Component\Plugin\Exception\PluginException: Plugin (taxonomy_index_name_depth) instance class "Drupal\views_taxonomy_term_name_depth\Plugin\views\argument\IndexNameDepth" does not exist. in Drupal\Component\Plugin\Factory\DefaultFactory::getPluginClass() (line 97 of /app/web/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php).
pls check this also
Thanks,
Arun - Status changed to RTBC
2 months ago 9:19am 11 July 2025 - 🇮🇳India divyansh.gupta Jaipur
Tested on Drupal 11. The patch fixes the invalid query operator issue caused by using '=' with an array — a change enforced in D11 per change record #3350985.
The patch applies cleanly and views using the contextual filter work with both single and multiple values also No database errors, and results are accurate.
Thus Marking this as Reviewed & Tested by the Community (RTBC). - 🇬🇧United Kingdom rakesh.gectcr Manchester
@arunsahijpal Thank you so much for the patch, Please see the following for the patch file name format. https://www.drupal.org/docs/develop/git/using-git-to-contribute-to-drupa... →
some reason I am not able to apply against the 7.x branch.
error: patch failed: src/Plugin/views/argument/IndexNameDepth.php:165 ─╯ error: src/Plugin/views/argument/IndexNameDepth.php: patch does not apply error: patch failed: views_taxonomy_term_name_depth.info.yml:2 error: views_taxonomy_term_name_depth.info.yml: patch does not apply
-
rakesh.gectcr →
committed 4797b302 on 7.x
Issue #3501376 by arunsahijpal, batigolix, divyansh.gupta, rakesh.gectcr...
-
rakesh.gectcr →
committed 4797b302 on 7.x
Automatically closed - issue fixed for 2 weeks with no activity.