-
- 429 Posts
I would like to have an extender added to Ditto to list resources by float(number TV) value, this would allow us to sortby price, length and year.
-
- 5,888 Posts
-
- 429 Posts
Thanks Bruno17 but I’m looking to sort by price, the code only seems to work for the year and not price
-
- 172 Posts
Try editing the code in Bruno’s link to:
$a = (float)substr($a[’pagetitle’], 9);
$b = (float)substr($b[’pagetitle’], 9);
Then you’ll have a float comparison.
-- Tim.