- Timestamp:
- 07/15/19 18:02:12 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/search-rpc.cgi
r927 r928 250 250 251 251 # Filter on "available", because we can. 252 if ($args{available} && $args{available} =~ /^[yn]$/) { 253 push @fields, "s.available"; 254 push @matchtypes, '='; 255 push @vals, $args{available}; 252 if (defined($args{available}) { 253 # Flex input; accept 1 or 0 as y/n respectively. 254 $args{available} =~ tr/10/yn/; 255 if ($args{available} =~ /^[yn]$/) { 256 push @fields, "s.available"; 257 push @matchtypes, '='; 258 push @vals, $args{available}; 259 } 256 260 } 257 261
Note:
See TracChangeset
for help on using the changeset viewer.