Skip Navigation

Cannot add a post relationship filter to a View

Resolved

Reported for: Toolset Views 3.1.0

Resolved in: 3.1.3

Symptoms

The Toolset Types plugin allows you to create post relationships, which you can later use for Search Fields by Post relationship or repeatable field groups owner in Views built with blocks.

Adding such Search Field to a View using any version after Views 3.0.2, will produce the following message when attempting to set the filter options in the Field settings for the filter. 

The View Block is corrupted, irrecoverable and needs to be deleted.

Workaround

Make sure you have Views 3.1.2 or Blocks 1.1.2 installed. Then, download this zip folder, extract it and place the two files it contains as described below to the Toolset Plugin you use (either Blocks or Views):
1. Upload view-editor.js into /wp-content/plugins/wp-views/public/js/ replacing the file with the same name.
2. Upload search.php into /wp-content/plugins/wp-views/wp-views/application/controllers/filters/post/relationship/ replacing the file with the same name.

Note that the path /wp-content/plugins/wp-views/ will be /wp-content/plugins/toolset-blocks/ if you have Toolset Blocks installed

Comments are closed