Needs review
Project:
Spaces
Version:
6.x-3.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Feb 2011 at 01:06 UTC
Updated:
4 Mar 2011 at 03:45 UTC
Attached patch adds a weight element to the Spaces Preset edit form, and a uasort to spaces_preset_load() to apply the results of the weight. Fallback from weight is alphabetical by preset title.
| Comment | File | Size | Author |
|---|---|---|---|
| spaces.preset_weight.patch | 2.53 KB | Grayside |
Comments
Comment #1
hefox commentedHaven't tested this yet, but will (looks good).
Comment #2
Grayside commentedI suppose someone else should be responsible at testing time.
This has one awkward quality in that you need to save a preset to the database in order to save the variable that controls the preset. I could not think of a good way to improve that without building a presets weight UI, which did not seem worth it.
Comment #3
Grayside commented