smas1 / geoext-viewer

Automatically exported from code.google.com/p/geoext-viewer
GNU General Public License v3.0
0 stars 0 forks source link

Ordering of Templates(layours) for printing #388

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently when using the print-preview, the order of the Print Layouts in the 
drop-down list seems to always be sorted Alphabetically.

This is a problem because you'll get something like:
A1 Landscape (Default)
A1 Portrait
A2 ..
A3 ..
Etc.

The top one is the largest one and is the default. You really don't want the 
largest one as the default. I've seen this not just on my own (where the 
largest is A3), but also on others linked to from the list (one did indeed have 
A1, and it was the default!).
This problem is caused by MFP ordering them that way (that's how they come out 
of info.json; irrespective of the order in config.yaml).

Suggestion:
 - Offer the ability to change the order of the list with a parameter. Even just descending based sort should do it I guess (make it the default too?)

Original issue reported on code.google.com by jonathan...@warwickshire.gov.uk on 13 Jun 2014 at 12:19