Quote:
Originally Posted by Guido
I've tried adding a filter option for internal storage, but it's giving me issues that I need to sort out. For instance, if I add a filter option for '4 GB', selecting that option will also show e-readers with '64 GB' as that text also contains '4 GB'.
|
You can add hidden fields to sort by. This is an example which works in MediaWiki (although your JavaScript probably does something similar):
Code:
<td data-sort-value="0.0">Free</td>
<td data-sort-value="1.0">$1/mo</td>
<td data-sort-value="1.25">$30/2yr</td>
This way you can sort by cost/month even if the price is per year, per half year, per month.
For multiple values you could make it a bitmap, although you would probably have to do some coding yourself.