Fixes bug making 'Filter by ID' unusable

Filter by ID on the reports/publications page
was broken because it didn't set
certain variables the publication view was expecting.

Now it does.