Feature No Code Attached Yet
avatar webfeuerflo
webfeuerflo
4 Nov 2024

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

The Smart Search results for articles do not contain the corresponding tags and custom fields and these cannot be accessed.
It would be desirable if this information were also available in the results

Additional context

avatar webfeuerflo webfeuerflo - open - 4 Nov 2024
avatar joomla-cms-bot joomla-cms-bot - change - 4 Nov 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 4 Nov 2024
avatar fgsw
fgsw - comment - 4 Nov 2024

Tags Joomla 5:

Image

avatar Hackwar
Hackwar - comment - 4 Nov 2024

@fgsw That is an entry of type "tag" in the Smart Search index, but not the tags and custom fields belonging to an article as in your screenshot in the first result. This feature request is a valid request, even though I'm not sure if we should add this.

avatar webfeuerflo
webfeuerflo - comment - 4 Nov 2024

Exactly, the tags as separate results are there, but I would find it useful if they would be accessible/shown with the article result

avatar richard67 richard67 - change - 4 Nov 2024
Labels Added: Feature
avatar richard67 richard67 - labeled - 4 Nov 2024
avatar Hackwar
Hackwar - comment - 27 Nov 2024

I've been thinking about this and while I could live with adding tags to the taxonomies, we can't add tags and customfields to the result object. Besides the size argument for adding yet more data to the serialized object, my main objection is the problem of keeping the data in sync. If you need access to tags and custom fields, you can retrieve that data in a template override via the API.

Add a Comment

Login with GitHub to post a comment