I imagine that this should filter all posts to be displayed in 2008 however it keeps only displaying the number limit I set in the control panel, 8. Is this a bug or am I missing something?
<?php
if (have_posts()) :
query_posts('posts_per_page=-1'&'year=2008');
while (have_posts()) : the_post(); ?>
<div><a href="<?php the_permalink() ?>" tabindex="3" title="<?php the_title_attribute(); ?>"><?php the_time('M j, '); the_title(); ?></a></div>
<?php endwhile;
endif; ?>