The quality of the item excerpt of a search result seems to differ between 
Magnolia 5.4.1 CE and 5.4.3 CE. I have the same website/pages on both system. 
On 5.4.1, the excerpts look good and it actually shows the parts where the 
keywords occurs and highlights them, whereas on 5.4.3, the excerpts does not 
show this but instead shows weird UUIDs and author names, that should not be 
visible to a public user:

The content nodes on both systems have the identical content. I pretty much use 
the default installation of 5.4.1 and 5.4.3 CE.
Anybody else having this problem or knows a reason for this? Is it a bug?

[img]http://snag.gy/e4Zrc.jpg[/img]

The code that I use for the search:

[code]
            [#-------------- ASSIGNMENTS --------------]
            [#assign queryStr = ctx.getParameter('q')!?html]

            [#-------------- RENDERING --------------]
            [#if queryStr?has_content]
                [#assign searchResults = searchfn.searchPages(queryStr, 
'/architektenconsult') /]
                [#assign recordsFound = searchResults?size /]

                <h3><em>${recordsFound}</em> ${i18n['search.pagesFoundFor']} 
"${queryStr}"</span></h3>

                <div class="list-group">
                    [#if searchResults?has_content]
                        [#list searchResults as item]
                            <a href="${cmsfn.link(item)}" 
class="list-group-item">
                                <h4 
class="list-group-item-heading">${item.title!}</h4>
                                <p 
class="list-group-item-text">${item.excerpt!}</p>
                            </a>
                        [/#list]
                   [/#if]
                </div>
            [/#if]
[/code]

Thanks.

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=19219336-2608-44a8-a51e-c77ffdf17499


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to