-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ipo finder nested facets #3160
Ipo finder nested facets #3160
Conversation
b96484d
to
4b8f519
Compare
4b8f519
to
39d0f37
Compare
39d0f37
to
b60ce0f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do wonder if we could make it clearer that the main_facet_value
is the important bit for linking (otherwise my first instinct was "why do we have to define the sub_facet_key/name and the main_facet_label/value?"). But couldn't think of a way of rephrasing the description
to make it clearer 🤔
b60ce0f
to
f5a5577
Compare
Updated the description. Would that read better? |
We have changed approach in the way we implemented nested facets. Nested facets are now sent as two separate facets independently with a cross reference link between them, therefore we no longer need to send sub-facets as part of the finder schema. #3160
Finder frontend and Government frontend view the nested facets as 2 separate facets. We make it easier by sending them as separate facets with a reference back to their main facet value. Main facet label is also required to populate the subfacet label in the format `Main facet label - Sub Facet Label` for when JS is disabled. The changes made in SP now make the use of `sub_facets` field obsolete, but the removal of that field will be done in a separate PR.
f5a5577
to
af88dbe
Compare
We have changed approach in the way we implemented nested facets. Nested facets are now sent as two separate facets independently with a cross reference link between them, therefore we no longer need to send sub-facets as part of the finder schema. #3160
Adding some additional required fields for nested facets.
Trello