Approval Filter broken in shortcode after update
-
So there was a bug in the code of class-gf-directory-shortcode.php that keeps the directory from displaying only Approved entries. I have fixed this by going to the file I listed, and around line 238 changing the field_filter to the below:
if ( $smartapproval && $enable_smart_approval && self::use_gf_23_db() ) { $search_criteria['field_filters'][] = array( 'key' => 'is_approved', 'operator' => 'is', 'value' => 'Approved', ); $search_criteria['field_filters']['mode'] = 'all'; }
- The topic ‘Approval Filter broken in shortcode after update’ is closed to new replies.