[Bio] / FigWebServices / subsys_summary.cgi Repository:
ViewVC logotype

Diff of /FigWebServices/subsys_summary.cgi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.16, Sun Feb 13 00:00:35 2005 UTC revision 1.17, Sun Feb 13 00:16:27 2005 UTC
# Line 224  Line 224 
224   # sort the table   # sort the table
225   # if we have levels we want to sort on level 1 and then level 2 and then subsysname   # if we have levels we want to sort on level 1 and then level 2 and then subsysname
226   # if not, we just sort on subsys name   # if not, we just sort on subsys name
227   if ($cgi->param("levels")) {   if ($cgi->param("levels") && !$cgi->param('korgs')) {
228    @$table = sort {    @$table = sort {
229     $a->[0]->[0] cmp $b->[0]->[0]     $a->[0]->[0] cmp $b->[0]->[0]
230                  ||                  ||
# Line 233  Line 233 
233     $a->[2]->[0] cmp $b->[2]->[0]     $a->[2]->[0] cmp $b->[2]->[0]
234    } @$table;    } @$table;
235   }   }
236   else {   elsif (!$cgi->param('korgs')) {
237    @$table = sort {    @$table = sort {
238     $a->[0]->[0] cmp $b->[0]->[0]     $a->[0]->[0] cmp $b->[0]->[0]
239    } @$table;    } @$table;

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3