0

There is a page with 6 entries that are supposed to show but only shows 2 when sorted in ascending order. I sort in descending order and all 6 entries show. What is going on here?

{exp:channel:entries
    channel="gcswim-meets"
    orderby="gym-date" 
    sort="asc"}

    {if '{gym-date format="%Y-%m-%d %H:%i"}' >= '{current_time format="%Y-%m-%d %H:%i"}'}

    <tr>
        <td width="220">
            {title}
        </td>
        <td width="68">
            {gym-date format="%m/%j"}
        </td>
        <td width="68">
            {gym-time}
        </td>
        <td> 
            {gym-location}
        </td>
    </tr>

    {/if}

{/exp:channel:entries}
0

Just found out there is a secret limit of 100 for entries. Adding limit="900" fixed it. This is pretty ridiculous, I have to say.

3
  • 1
    To be fair a no-limit by default would be madness and lead to more issues. It's well documented though. Nov 3 '15 at 21:54
  • Yeah later in the day I thought about it and realized a limit makes a lot of sense, I just wish it was somehow more apparent that it is there.
    – David W
    Nov 5 '15 at 16:19
  • 2
    To be fair, it is not "secret" - it's right in the docs. Nov 5 '15 at 19:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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