<p>You will need to reset your <code>.limit(null)</code> on the second call (the one with your offset) due to the way Element Queries work. </p>

CC BY-SA 4.0
2019-05-15T20:02:37.060Z
Thank you, that fixed it.
CreateSean
CC BY-SA 4.0
2019-05-15T16:09:00.300Z
2019-05-15T16:14:53.043Z
2019-05-15T16:14:53.043Z
Oli
<p>I have an entry that has a entries field where 9 entries have been added.</p>

<p>The first three entries are displayed in one block at the top of the page and this works correctly using .limit(3)</p>

<p>However further down the page I expect 6 entries to be displayed when using .offset(3). That is not happening. Instead you only see the next 3 entries, not the next 6. If I change to offset(6) I still see 3 entries but it's the final three entries.</p>

<p>Below is simplified relevant code.</p>

<pre><code>{% for secondaryEntry in entry.secondaryFeatures.offset(3).all() %}  
  &lt;li class="col-sm-4 feat-box"&gt;
    &lt;div class="content"&gt;
      &lt;a href="{{ secondaryEntry.url }}" class="img-container"&gt;
        {{ secondaryEntry.title }}
      &lt;/a&gt;
    &lt;/div&gt;
  &lt;/li&gt;
{% endfor %}
</code></pre>

<p>Please advise.</p>

<p><strong>edit</strong>
Here is the code calling the first three entries at the top of the page</p>

<pre><code>{% for secondaryEntry in entry.secondaryFeatures.limit(3).all() %}
  &lt;li class="col-sm-4 feat-box"&gt;
      more code
  &lt;/li&gt;
{% endfor %}
</code></pre>

CC BY-SA 4.0
2019-05-14T22:41:31.827Z
Can you edit the question and show how you're pulling in and displaying the first 3 entries?
Brad Bell
CC BY-SA 4.0
2019-05-15T12:58:43.290Z
@BradBell Have added in the code you requested
CreateSean
<templating><entries>
Offset not working correctly
# Offset not working correctly

(Asked by: username_0 on 2019-05-14)

I have an entry that has a entries field where 9 entries have been added.
The first three entries are displayed in one block at the top of the page and this works correctly using .limit(3)
However further down the page I expect 6 entries to be displayed when using .offset(3). That is not happening. Instead you only see the next 3 entries, not the next 6. If I change to offset(6) I still see 3 entries but it's the final three entries.
Below is simplified relevant code.
{% for secondaryEntry in entry.secondaryFeatures.offset(3).all() %}  
  
    
      
        {{ secondaryEntry.title }}
      
    
  
{% endfor %}

Please advise.
edit
Here is the code calling the first three entries at the top of the page
{% for secondaryEntry in entry.secondaryFeatures.limit(3).all() %}
  
      more code
  
{% endfor %}

**Tags:** templating, entries
> **Comments:**
> **username_1**: Can you edit the question and show how you're pulling in and displaying the first 3 entries?  
> **username_0**: @BradBell Have added in the code you requested  

---

## 1 answers

### Answer by username_2 on 2019-05-15. Score: 1 | Accepted answer

You will need to reset your `.limit(null)` on the second call (the one with your offset) due to the way Element Queries work.

> **Comments:**
> **username_0**: Thank you, that fixed it.  

---

