Error "Could not find a view named x" when extending a view

Knowledge Drop

Last tested: April 2020

When extending a view, remember to include the view you’re extending.

include: "base.view"view: new {extends: [base]}

Make sure that the string inside include is the filename (what you see on the list on the left hand side), and that the string inside extends is the actual view name. (The string defined at: view: view_name inside the view file).

Extending a view (docs)