diff --git a/libraries/cck/_/plugin/field.php b/libraries/cck/_/plugin/field.php index 32d08c209..3d6ac2001 100644 --- a/libraries/cck/_/plugin/field.php +++ b/libraries/cck/_/plugin/field.php @@ -859,6 +859,11 @@ public static function g_onCCK_FieldPrepareForm( &$field, &$config = array() ) } } + // Allowed Query Vars + if ( $config['client'] == 'search' && $field->state ) { + $config['pagination_vars'][$field->name] = true; + } + // Css if ( $field->variation ) { $css = ''; @@ -969,6 +974,11 @@ public function g_onCCK_FieldPrepareSearch( &$field, &$config = array() ) $field->state = 0; } } + + // Allowed Query Vars + if ( $field->state ) { + $config['pagination_vars'][$field->name] = true; + } } // g_onCCK_FieldPrepareStore