Skip to content

Search results view mode selection causes an error #6202

Description

@josegar74

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

javascript-error

To Reproduce

Steps to reproduce the behavior:

  1. Go to the search results
  2. Click on the icon to switch the results view mode from List to Grid
  3. Open the developer tools in Chrome
  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions