Uploaded image for project: 'Magnolia Categorization Module'
  1. Magnolia Categorization Module
  2. MGNLCAT-84

CategorizationTemplatingFunctions.getSortedList() needs optimization in sorting

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • 1.2.x
    • None

    Description

      We do sort twice in some cases which is totally unnecessary.
      We can create one comparator that will do sort based on more properties. There is no need to run sort two times, if collections have lots of items, this method can be very slow.

      Good thing would be to implement some caching in comparator so we don't need to always take value from repo.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              jsimak Jaroslav Simak
              AuthorX
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Task DoD