I have a taxonomy_catalog which has many parent taxonomies with children and sub-children. If Facet API Pretty Paths is enabled, and I click on a Facet, I get no results returned. Turn off Pretty Paths and the search results are fine.

I have 2 content types, each with their own taxonomy sets. I have 2 indexed searches (one for each content type). One works great with Pretty Paths and the other returns no results (as described above). The only difference I can see between the two is that one taxonomy is a flat hierarchy and the other has parent child relationships.

I apologize if I'm just missing something in the functionality or settings.

Comments

dasjo’s picture

The Drupaljobs demo site linked from the project page showcases hierarchical taxonomies working with facetapi_pretty_paths.

Maybe there is something else that's special about your setup?

Daniel Schaefer’s picture

I'm experiencing the same issue here. I also tried clearing cache, rebuilding the index, rebuilding path aliases - but no luck :(

My setup:

  • Display Suite Search 7.x-2.5
  • Apache Solr search 7.x-1.1
  • Facet API 7.x-1.3
  • Facet API Bonus
  • Custom search page with custom path (.../filter instead of .../site/search)

My taxonomy holds a couple of hundred items with a depth of about 3-4 levels e.g.

technology
-group-1
--item-1
--item-2
-group-2
--item-1
--item-2
---item-1

cmseasy’s picture

I have had the same 'no result' with 6 from 8 taxonomy filters, all flat terms.

Removing and renewing the existing taxonomy alliasses solved this (pathauto: admin/config/search/path/delete_bulk, ...../update_bulk).

dasjo’s picture

Issue summary: View changes

feel free to reopen if #3 doesn't help

dasjo’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.