What am I doing wrong? What I try to reach is getting all entries that DO contain a grid-row. video is name of grid field, fragment is name of the column.

{exp:channel:entries channel="news" dynamic="no" search:video:fragment="not IS_EMTPY"}



Thanks in advance.

3 Answers 3


I believe the grid fields aren't searchable with search= however you can search in the grid tag itself

{video search:fragment="not IS_EMPTY"}

Well if you want to search into Grid then first you should enable all fields which you want to search, by Include in search? parameter from the Grid fieldtype. After that you should add search:column_name= with your grid field_name into your code.

In your case you should try with below code.

{video search:column_name="not IS_EMPTY"}
    {!-- your code --}

I hope this will works for you.

  • Thanks Jelle and Harsh for the suggested solution. I created a work-around with a custom counter to limit to max 4 entries. This is because I only want to show the latest 4 video's of entries that do contain a video. So if i limit to 4 entries... this won't give the result. Because not every entry contains a video. Will send code when finished.
    – WA Design
    Commented Feb 13, 2019 at 9:39
        <?php $i = 1;?>
        {exp:channel:entries channel="nieuws" dynamic="no" limit="100"}
        {video limit="1"}
        <?php if($i < 9):?>
            <article class="video-item col-lg-3 col-md-4 col-sm-6">
                    <a href="{page_uri}">
            <?php if($i == 4):?><div class='clearfix'></div><?php endif;?>

            <?php $i++;?>
        <?php endif; ?> 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.