Select advanced search

Support MB Frontend Submission Select advanced search

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #46112
    YasmineYasmine
    Participant

    Hello,

    In a front-end form I have this field:

            [
        'name'          => __( 'Country focus', 'your-text-domain' ),
        'id'            => $prefix . 'academiccountry_focus',
        'type'          => 'taxonomy',
        'taxonomy'      => ['country-tags'],
        'field_type'    => 'select_advanced',
        'multiple'      => true,
        'query_args'    => [
          //  'orderby'  => 'menu_order',
          //  'order'    => 'ASC',
            'child_of' => 10152,
            'exclude'  => 12950,
        ],
        'admin_columns' => [
            'position'   => 'after title',
            'title'      => 'Country',
          //  'sort'       => true,
          //  'searchable' => true,
          //  'filterable' => true,
        ],
        'columns'       => 12,
        'class'         => 'rs_p5',
        'tab'           => 'page_5',
       //    'js_options' => [
        //   'allowClear' => true,
    //   ],
    ],

    I am having the issue that if you search for a term that is not in the initial loaded list, then it returns as no result. The term Im searching for is there, as when I load-scroll down-load I can find it

    #46117
    PeterPeter
    Moderator

    Hello Yasmine,

    I tried to reproduce the issue on my end but couldn't see it. Please try to create a new field group with that field and deactivate all plugins except Meta Box, MB extension plugins, switch to a standard theme of WordPress and check the issue again.

    #46188
    YasmineYasmine
    Participant

    It was the 'child_of' => 10152, causing the issue.

    This was what I needed, but the child filter stopped everything working

    #46195
    PeterPeter
    Moderator

    Hello,

    Please share your site admin account by submitting this contact form https://metabox.io/contact/
    I will take a look.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.