Ticket 488: record selection ignored in metrics

Even though records were selected, metrics calculation was done as if no records were selected. The Javascript function now only makes the query parameter visible and set no bibcodes, so that the views module finds no selected bibcodes and 'knows' that it needs to use the query