GithubHelp home page GithubHelp logo

Comments (2)

collectiveaccess avatar collectiveaccess commented on September 28, 2024

I'd make sure you don't have the dontExpandTypesHierarchically option set. That would cause the behavior you're seeing.

I just tried your facet configuration on a working site with a deep collection hierarchy and archival items (and dontExpandTypesHierarchically for the facet not set), and it's showing top level collections when restricted.

from pawtucket2.

Monica-Wood avatar Monica-Wood commented on September 28, 2024

I have the facet set up exactly as you see here. When I was playing to try and get it working I had tried the group_mode = hierarchical. And I had the dontExpandTypesHierarchically set for a bit to see what it would do, But I didn't want the hierarchy selector so removed it again. I'll try clearing caches again in case, but thought I had browse cache set to 0.

EDIT: I have cleared caches and checked configuration. dontExpandTypesHierarchically is commented out in the browseType: ca_objects block.

I do have it enabled in the browseType: ca_collections block, but tested with this commented out too and nothing changed. (after clearing caches, but cache_timeout is set to 0). I am unsure what to do now.

@collectiveaccess: Next update: I changed the install to use the default theme and added the collection facet above to this. It still does the same thing, only shows the immediate parent collection, not the top level (unless the top level is the immediate parent). Can you confirm this is working for you on the current commit please?

from pawtucket2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.