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

CategorizationTemplatingFunctions.getSortedList() needs optimization in sorting

XMLWordPrintable

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

      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.

        Acceptance criteria

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

                Created:
                Updated: