Subversion Repositories VORC

Rev

Rev 222 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 222 Rev 234
Line 145... Line 145...
145
    if ($filter eq "Full") {
145
    if ($filter eq "Full") {
146
      return "$colName = 0";
146
      return "$colName = 0";
147
    }
147
    }
148
    return "$colName > 0";
148
    return "$colName > 0";
149
  } else {
149
  } else {
150
    my $thing = "filter-${colName}";    
-
 
151
    my $Options = "<OPTION></OPTION>"."<OPTION>Available</OPTION>"."<OPTION>Full</OPTION>";
150
    my $Options = "<OPTION></OPTION>"."<OPTION>Available</OPTION>"."<OPTION>Full</OPTION>";
-
 
151
    my $tmpfilter = getFilterValue ($colName);
Line 152... Line -...
152
    
-
 
153
    my $tmpfilter = param ("filter-$colName");
152
    
154
    $Options =~ s/>($tmpfilter)/ selected>$1/;
153
    $Options =~ s/>($tmpfilter)/ selected>$1/;
155
    return "<SELECT name=filter-${colName} onChange='page.value = 1; submit();'>$Options</SELECT>";
154
    return "<SELECT name=filter-${colName} onChange='page.value = 1; submit();'>$Options</SELECT>";
156
  }
155
  }