Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-4446

Search Portlet doesnt correctly link the web content articles

    Details

    • Branch Version/s:
      5.2.x, 5.1.x
    • Backported to Branch:
      Committed

      Description

      here is the current behavior:

      Search will find all articles that match the search criteria and each result will link as follows:
      1) If the article is displayed on a layout (in the same community as the search portlet), then the search result will link to the layout with the article inside the layout (/web/guest/home)
      2) If the article is not displayed on any layout (in the same community as the search portlet), then the search result will link directly to the article (/c/journal/view_article_content?groupId=123&articleId=456)

      the correct/better behavior would be that the link should be be to a page with the article.. regardless of whether or not the page is in the same community as the search portlet.

      in other words..
      an article is in a community and contains the word "test"

      If i go to that community and search for "test", I get the article and the link is a "page link" (good)
      If i go to another community and search for "test", I still get the search result with that article, but the link takes me directly to the article.. a "article link" (not good)

      Scott

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              wesley.gong Wesley Gong
              Reporter:
              scott.lee Scott Lee
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                11 years, 30 weeks ago

                  Packages

                  Version Package
                  6.0.0 Preview