Cannot save or search using search forms with relative time filters

Description

Trying to save or search using a search form fails with the following stack trace in the console:

filter.view.js:339 Uncaught TypeError: Cannot read property 'currentView' of undefined
at i.deleteInvalidFilters (filter.view.js:339)
at filter-builder.view.js:196
at Function.g.each.g.forEach (underscore.js:153)
at t.(:8993/search/catalog/anonymous function) [as forEach] (https://localhost:8993/search/catalog/bundle.02c355971fe66d4fcddd.js:132:6856)
at i.deleteInvalidFilters (filter-builder.view.js:195)
at i.transformToCql (filter-builder.view.js:157)
at i.save (query-advanced.view.js:115)
at i.saveRun (query-editor.view.js:255)
at HTMLElement.dispatch (jquery.js:5206)
at HTMLElement.M.handle (jquery.js:5014)

Environment

None

Status

Assignee

David Morales

Reporter

David Morales

Labels

None

Components

Fix versions

Affects versions

2.13.2

Priority

Minor
Configure