-
Notifications
You must be signed in to change notification settings - Fork 14
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
Contextual websearch on tags and categories. DDFFORM-788 #1524
Conversation
481ddae
to
a20f928
Compare
a20f928
to
19c1b6f
Compare
19c1b6f
to
8d5fac1
Compare
8d5fac1
to
341bd86
Compare
I know that the config test is failing, but please ignore that - I have no idea why it's happening, but I hope to find a solution for it eventually. |
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 understand if this should be addressed in a separate ticket, but there shouldn't be an underline beneath the link in the tag. This should be corrected in the design system.
Overall, great work! 👍
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.
For the record: The Drupal Config check fails. This should not be merged until this is addressed. If we do not address it the problem will propagate to all other future work.
This allows us to create facets and filters, that look both in events and contents.
This is an RSS feed that we do not want.
341bd86
to
d946b92
Compare
Embedding a contextualized version of the editorial search view directly on 'Categories' and 'Tags' individual term pages. This allows the user to find content that is associated with this term.
d946b92
to
6ac376f
Compare
For whatever reason these surface when running the following in GitHub Actions: - task dev:reset - task dev:cli -- drush cex They also turn up when running the same from a clean install locally e.g. when running git clean -d -f -x before.
This reverts commit 6ac376f.
The merge request mentioned in the issue (3425506) does not apply. This is a quickfix - once we update search API module, we can remove this patch.
Currently we have newlines set as separators for aggregated fields for tags and categories in the combined content and events index. For whatever reason this adds even more newlines for the separator when configuration is exported again. It turns out the separator is only used for the "concatenation" aggregation type. We use the "union" aggregation type. With this in mind the separator value is actually not used for our use case. To work around the issue we change the separator value to a simple string with a value showing that it is not in used. See https://www.drupal.org/project/search_api/issues/3425506#comment-15490163
…_tag-search-config-issue Fix newline issue as separator for aggregated fields in combined index
It turns out the problem is not addressed with the change in the patch. Consequently we might as well not add it. This way we avoid adding extra work when we need to update the Search API module. This reverts commit a4ca1e3.
Link to issue
https://reload.atlassian.net/browse/DDFFORM-788
You can test it by going to an article or event, and click on either a tag or category.
It should lead you to the term page, where related content is shown.
Example:
https://varnish.pr-1524.dpl-cms.dplplat01.dpl.reload.dk/hovedbiblioteket/arrangementer/vi-anbefaler/fars-legestue/2034-01-01
Link tags and categories on full displays, to term pages. DDFFORM-788
Aggregrate event+content tags+categories in search API. DDFFORM-788
This allows us to create facets and filters, that look both in events and contents.
This is an RSS feed that we do not want.
Embedding a contextualized version of the editorial search view directly on 'Categories' and 'Tags' individual term pages.
This allows the user to find content that is associated with this term.