Describe the bug
In the search results, switching the results to a different view mode: List / Grid causes a javascript error.
Tested in version 4.0.x

To Reproduce
Steps to reproduce the behavior:
- Go to the search results
- Click on the icon to switch the results view mode from List to Grid
- Open the developer tools in Chrome
- See the following error:
lib.js?v=b8cc6631b6028944d02e63cf0291a16466c490fe:128 Error: [$compile:ctreq] http://errors.angularjs.org/1.5.2/$compile/ctreq?p0=gnSavedSelections&p1=gnSavedSelectionsAction
at lib.js?v=b8cc6631b6028944d02e63cf0291a16466c490fe:20:416
at ib (lib.js?v=b8cc6631b6028944d02e63cf0291a16466c490fe:84:10)
at n (lib.js?v=b8cc6631b6028944d02e63cf0291a16466c490fe:78:444)
at lib.js?v=b8cc6631b6028944d02e63cf0291a16466c490fe:89:65
at lib.js?v=b8cc6631b6028944d02e63cf0291a16466c490fe:141:69
at m.$eval (lib.js?v=b8cc6631b6028944d02e63cf0291a16466c490fe:155:273)
at m.$digest (lib.js?v=b8cc6631b6028944d02e63cf0291a16466c490fe:152:369)
at b.$apply (lib.js?v=b8cc6631b6028944d02e63cf0291a16466c490fe:156:35)
at HTMLAnchorElement.<anonymous> (lib.js?v=b8cc6631b6028944d02e63cf0291a16466c490fe:280:446)
at HTMLAnchorElement.dispatch (lib.js?v=b8cc6631b6028944d02e63cf0291a16466c490fe:8:7537)
Apparently is not causing additional issues in the user interface, as seem working fine.
Expected behavior
No error is displayed.
Describe the bug
In the search results, switching the results to a different view mode: List / Grid causes a javascript error.
Tested in version 4.0.x
To Reproduce
Steps to reproduce the behavior:
Apparently is not causing additional issues in the user interface, as seem working fine.
Expected behavior
No error is displayed.