[interchange-cvs] interchange - heins modified dist/lib/UI/pages/admin/flex_select.html
interchange-core@interchange.redhat.com
interchange-core@interchange.redhat.com
Fri Apr 19 04:56:01 2002
User: heins
Date: 2002-04-19 08:55:18 GMT
Modified: dist/lib/UI/pages/admin flex_select.html
Log:
* Add change suggested by Cameron to sort numerically
if column is NUMERIC in dbconf
Revision Changes Path
2.8 +5 -0 interchange/dist/lib/UI/pages/admin/flex_select.html
rev 2.8, prev_rev 2.7
Index: flex_select.html
===================================================================
RCS file: /anon_cvs/repository/interchange/dist/lib/UI/pages/admin/flex_select.html,v
retrieving revision 2.7
retrieving revision 2.8
diff -u -r2.7 -r2.8
--- flex_select.html 14 Dec 2001 05:56:02 -0000 2.7
+++ flex_select.html 19 Apr 2002 08:55:18 -0000 2.8
@@ -394,6 +394,11 @@
$CGI->{ui_description_fields} = join ",", @cols;
+ unless ($CGI->{ui_sort_option}) {
+ $CGI->{ui_sort_option} = 'n'
+ if $ref->numeric($CGI->{ui_sort_field});
+ }
+
$Scratch->{sparams} = $Scratch->{tmp_like_spec} ? '' : <<EOF;
fi=$CGI->{mv_data_table}