Problem/Motivation

Currently sorting takes place in multiple places:

  • initially when styles are parsed from theme's info;
  • on save in style add/edit form;
  • on save in admin config form;
  • on render style admin config form.

Proposed resolution

Lets reduce this behavior and sort only when styles list is rendered: in switcher block and in admin config form (the latest is already there). When cached switcher block is displayed this won't hit performance. But this change is needed for future features.

Comments

pingwin4eg’s picture

Status: Active » Needs review
StatusFileSize
new1.73 KB

  • pingwin4eg committed ec3d2af on 7.x-2.x
    Issue #2536300 by pingwin4eg: Move sorting styles to the output
    
pingwin4eg’s picture

Category: Plan » Task
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.