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

URLs when categories are selected in Collection Categories Filter should be user friendly

    Details

      Description

      The URLs that are generated when a user selects categories in the Collection Categories Filter should change.

      Details containing the motivation for that are here: https://docs.google.com/document/d/13Giy5cFJ-sXTOXjCsUULdMVWmaaMTdMmN6LeRD_wPjA/edit?disco=AAAAK7BCZ8Y

      Currently the URL parameters are generated as:
      ?categoryId_<collectionFilterFragmentEntryLinkId>=<assetCategoryId>

      Example:
      ?categoryId_40910=39647&categoryId_40910=39641&categoryId_40913=39663&categoryId_40913=39751&categoryId_40913=39748

      There are two improvements to be made:

      1) Have one param value for each filter and merge several categories in one filter into one value (to then apply ORs in one case and ANDs in another:

      e.g: ?categories_sports=123__or__234&categories_teams=345__or__456&categories_teams2=345__or__789

      2) Using more friendly category identifiers instead of ids. For this we can use the category's External Reference Code

        Attachments

          Activity

            People

            Assignee:
            ruben.pulido Ruben Pulido
            Reporter:
            ruben.pulido Ruben Pulido
            Engineering Assignee:
            Ruben Pulido
            Recent user:
            Marta Elicegui
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package