Open Toutouwai opened 8 years ago
$results = $pages->find("template=my_template, sort=my_options_field.sort");
The above does not sort $results according to the sort order of the options field. Also, attempting to reverse the sort order with sort=-my_options_field.sort has no effect.
sort=-my_options_field.sort
Sorting a page array works properly though.
$results->sort("my_options_field.sort");
The above does not sort $results according to the sort order of the options field. Also, attempting to reverse the sort order with
sort=-my_options_field.sort
has no effect.Sorting a page array works properly though.