diff options
author | Dan McGee <dan@archlinux.org> | 2013-04-21 20:06:14 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-04-21 20:06:14 -0500 |
commit | ecf57207c0a5f90d51b6be551158ce7a0f82c9cb (patch) | |
tree | 2a8be71b4a5caeb9123166657e8ee31c5bd3a050 /templates/devel | |
parent | bb18fa3323a0494a2774ea61911572b089d04b6d (diff) |
Fix sorting of file size values in jQuery tablesorter
The dumbass currency parser was matching values like '1.5 GB', causing
the actual sorting to not work right since the magnitude values of GB
values are obviously different than MB. Remove it fully from the parser
list so our actual parser matches and we sort correctly.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/devel')
-rw-r--r-- | templates/devel/packages.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/devel/packages.html b/templates/devel/packages.html index 0e6b1752..d6aab497 100644 --- a/templates/devel/packages.html +++ b/templates/devel/packages.html @@ -86,7 +86,7 @@ $(document).ready(function() { var filter_func = function() { filter_pkgs_list('#report_filter', '#dev-report-results tbody'); }; $('#report_filter input').change(filter_func); $('#criteria_reset').click(function() { filter_pkgs_reset(filter_func); }); - // fire function on page load to ensure the current form selections take effect + // run on page load to ensure current form selections take effect filter_func(); }); </script> |