isotope/core — pull request #30 by Ruudt (2012-08-08 12:04:00+00:00)
Title: Added dynamic sort labels to product filter

Pull request as asked for in: 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...