isotope/core — pull request #29 by Ruudt (2012-08-08 11:24:09+00:00)
Title: Added dynamic sort labels to product filter

Made a pull request of it as requested: http://www.contao-forge.org/issues/3335

>>>

I noticed in ModuleIsotopeProductFilter->generateSorting() the labels like "A to Z" get added based on field name. A comment saying it needs to become dynamic suggests you want to do something similar. Perhaps the code below is an option. It relies on the rgxp type of each field.

I had to make a new label for sorting large to small/small to large for numerals other then price...