Skip Navigation

JavaScript Error when using a View with an AJAX custom search

Resolved

Reported for: Toolset Maps 2.0

Resolved in: 2.0.1

Symptoms

There is an issue that can cause a JavaScript error if you use a View with a custom search. This issue happens in the following case:

  • The AJAX results update when visitors change any filter values option is selected for the View’s custom search.
  • View’s Loop includes a Toolset Map.
  • The View doesn’t have the Don’t include current page in query result option enabled.

The following JavaScript error is logged in the console on the page where you use this View:

  • Uncaught TypeError: viewUniqueId.split is not a function

Workaround

Edit the View in question and in the Query Options section, check the Don’t include current page in query result option.

Comments are closed