Skip to content

Facet Terms Grouping (Port from FF) - #718

Open
utku-ozturk wants to merge 5 commits into
masterfrom
facet_terms_grouping
Open

utku-ozturk wants to merge 5 commits into
masterfrom
facet_terms_grouping

Conversation

@utku-ozturk

@utku-ozturk utku-ozturk commented May 16, 2023 •

Copy link
Copy Markdown
Contributor

Trello: https://trello.com/c/nwosFKMo

Please also refer to:

The update allows for a hierarchical display of terms grouped under a grouping term. It also enables searching and selection by group names and individual terms.

You must add the group_by_field property in schema json to define grouping for a facet.

(the code block and screenshot below are only for examples, not actually pushed into repo)

    "facets": {
        "file_type": {
            "title": "File Type",
            "descripton": "Type or categorization of this file.",
            "group_by_field": "file_classification"
        },
        ...
Screen Shot 2023-05-17 at 01 17 08

@Bianca-Morris Bianca-Morris left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this; looks good. Tested this on local in a bunch of Item search pages and a few embedded search tables; seems like the changes aren't causing any issues (as expected). I'd wait until @willronchetti has an opportunity to double check the search edits to merge this, though. Maybe reach out to him directly; it's possible it's slipped by him.

@utku-ozturk

utku-ozturk commented Jun 2, 2023 •

Copy link
Copy Markdown
Contributor Author

@Bianca-Morris Thanks for the review. By the way, we have an ongoing update that we already had applied for FF, and we will push the commit into CGAP shortly after the tests end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants