Changeset 14062
- Timestamp:
- 07/16/08 18:36:27 (5 years ago)
- Files:
-
- 1 modified
-
trunk/cgi-bin/LJ/QotD.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/LJ/QotD.pm
r13905 r14062 188 188 my $u = shift; 189 189 my $skip = shift; 190 my $all = shift; 190 191 my @questions = @_; 191 192 … … 222 223 # targeted at their country, or if we're looking at the history, 223 224 # return all questions 224 if (@questions_ret && $skip == 0 ) {225 if (@questions_ret && $skip == 0 && !$all) { 225 226 return @questions_ret; 226 227 } else { … … 256 257 @questions = $class->filter_by_domain($u, $domain, @questions) unless $all; 257 258 @questions = $class->filter_by_eff_class($u, @questions); 258 @questions = $class->filter_by_country($u, $skip, @questions);259 @questions = $class->filter_by_country($u, $skip, $all, @questions); 259 260 260 261 # sort questions in descending order by start time (newest first)
