fix bug #917 the view was harcoded in pagination links the "key" parameter was omitted in pagination links