Search view mode cannot be switched

The view mode buttons in search seem to be broken.