I've just been trying to change the sort-order of my posts so I can sort by a custom field value. I've got sorting working, using
<?php query_posts('meta_key=student_secondname&orderby=meta_value&order=ASC') ?>
but now the Previous/Next Posts links don't work. If there are more posts than can be displayed on the page, the Previous/Next links are there, but if I click them, I get the same list of posts, and only ever see the first set.
Is this a known bug in WordPress (I'm using the latest version), or is it more likely a bug in the template code somewhere?
The template uses the standard WP 'previous_posts_link' and 'next_posts_link' keywords.
Anyone any thoughts on what might be going wrong, and if there's anything I can do about it?
a|x