Config tests: Ordering

Prior to Rivendell v2.8.8 you could only configure ordering on one column (via XML). Whilst you could order on whatever you wanted via Data and Loop tags the generic admin can only make use of XML configured ordering. So, the XML was extended to allow for more sophisticated ordering. Where ordering is specified at both the field and section XML element level the section element should win out.

Results

Test Expected Actual Result
Ordering set at field and admin level: Row 1 1,1,1 1,1,1 PASS
Ordering set at field and admin level: Row 2 3,2,1 3,2,1 PASS
Ordering set at field and admin level: Row 3 2,2,2 2,2,2 PASS
Ordering set at field and admin level: Row 4 1,2,3 1,2,3 PASS
Ordering set at admin level: Row 1 1,1,1 1,1,1 PASS
Ordering set at admin level: Row 2 3,2,1 3,2,1 PASS
Ordering set at admin level: Row 3 2,2,2 2,2,2 PASS
Ordering set at admin level: Row 4 1,2,3 1,2,3 PASS