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

Searchcontainer. Sorting. Hashtag in url.

    Details

      Description

      I am using the <liferay-ui:search-container>.
      I need the columns to be sortable like this:
      <liferay-ui:search-container-column-text name="SakNr" property="saksnummer" orderable="<%=true %>" orderableProperty="SakNr"/>

      But I am not able to find the orderableProperty like this:
      ParamUtil.getString(request, "orderByCol").

      The link that is generated contains # instead og &:
      #p_51_WAR_kirkebokenportlet_INSTANCE_1b5F&_51_WAR_kirkebokenportlet_INSTANCE_1b5F_orderByCol=SakNr&a....

      (<a href="http://localhost:8080/nb/web/kirkebok/soek?p_p_id=51_WAR_kirkebokenportlet_INSTANCE_1b5F&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=1&_51_WAR_kirkebokenportlet_INSTANCE_1b5F_cur=1&_51_WAR_kirkebokenportlet_INSTANCE_1b5F_delta=10&_51_WAR_kirkebokenportlet_INSTANCE_1b5F_keywords=&_51_WAR_kirkebokenportlet_INSTANCE_1b5F_advancedSearch=false&_51_WAR_kirkebokenportlet_INSTANCE_1b5F_andOperator=true#p_51_WAR_kirkebokenportlet_INSTANCE_1b5F&_51_WAR_kirkebokenportlet_INSTANCE_1b5F_orderByCol=SakNr&_51_WAR_kirkebokenportlet_INSTANCE_1b5F_orderByType=desc" id="aui_3_2_0_1660"> SakNr)

        Attachments

          Activity

            People

            Assignee:
            mika.koivisto Mika Koivisto (Inactive)
            Reporter:
            mariushj Marius Hjerpseth (Inactive)
            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:
              9 years, 5 weeks, 5 days ago

                Packages

                Version Package
                6.0.6 GA