otwcode/otwarchive — pull request #1943 by sarken (2014-12-15 06:25:52+00:00)
Title: 3798 Filtered pagination on news fails if no language set

https://code.google.com/p/otwarchive/issues/detail?id=3798

If you filtered the news posts (admin_posts) by tag and did not select a language, when you attempted to navigate to the second page of results using the pagination links, you would get a 500 error. This is because the URL produced by the pagination expects language parameters: `http://test.ao3.org/languages//admin_posts?commit=Go&page=4&tag=13&utf8=✓` -- note the `//` where the short name for a language should be, e.g. `/en/`.

This pull request makes it so the language filter will be set to the Archive's default language unless the user selects a different language to filter by. We can do this because news posts are filtered to the Archive's default language automatically, so we're not depriving the user of the ability to see all news posts regardless of language.