Hello,
I'm having difficulty understanding how this module works. I have a Commerce product entity that references a category taxonomy term. On a category taxonomy term page, I would like to list the referenced products and the products that are referenced by the terms children. In order to accomplish this, I'm overriding the taxonomy/term/% path with a Search API view. I added a category taxonomy term contextual filter of type "Taxonomy term ID from UL". Unfortunately, I can't find the depth select list that I thought this module would provide. Please see attached image. Is there something I'm doing wrong?
Thank you,
Paul
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | argument_depth_location.png | 105.19 KB | andileco |
| #5 | filter_depth_location.png | 105.58 KB | andileco |
| views_contextual_filter.png | 416.75 KB | pnigro |
Issue fork search_api_term_with_depth-3560155
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
andileco commentedHi Paul, thanks for your question. The quick answer is: I have only created the filter (vs. contextual filter (aka "argument")) plugin, and actually had it on my to-do list to create the argument plugin for the next version: https://www.drupal.org/project/search_api_term_with_depth/releases/1.0.0.
I'm converting this from a documentation request to a task. I don't expect it will take especially long to add the argument plugin.
Comment #4
pnigro commentedHello Daniel,
Thank you for your quick reply and for adding this to your todo list. It is a much needed feature. On a side note, I can't find the depth select list on a taxonomy term filter as well. I must be doing something wrong.
Thank you,
Paul
Comment #5
andileco commentedHi Paul, please apply the merge request to test. I've included images from where you can find the depth field on the filter and on the argument. Hope this helps!
Comment #6
andileco commentedComment #7
andileco commented