# Offset not working?

**URL:** <https://community.modx.com/t/offset-not-working/7723>\
**Category:** Support\
**Created:** [April 26, 2024, 3:30pm UTC](https://community.modx.com/t/offset-not-working/7723 "2024-04-26T15:30:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![coconghaile](https://community.modx.com/user_avatar/community.modx.com/coconghaile/32/136_2.png) [@coconghaile](https://community.modx.com/u/coconghaile)\
**Post date:** [April 26, 2024, 3:30pm UTC](https://community.modx.com/t/offset-not-working/7723/1 "2024-04-26T15:30:40Z")

</div>

I have a pdoResources code below

```auto
[[!pdoResources? 
  &parents=`10` 
  &tpl=`upcomingGameDetails`
  &includeContent=`1`
  &processTVs=`1`
  &includeTVs=`Team_1_Name,
    Team_1_Score,
    Team_1_Crest,
    Team_2_Name,
    Team_2_Score,
    Team_2_Crest,
    Game_Competition,
    Game_Date,
    Game_Venue`
  &limit=`0`
  &offset=`1`
  &sortby=`{"Game_Date":"ASC"}` 
  &sortdir=`DESC`
  &where=`{"isfolder:=":"0","template:=":"15","Game_Date:>":"[[!currentDate]]"}`
]]

```

This should retrieve a table of all the upcoming game except the first one - `&offset=1` but it keeps bringing them all back. I don’t want to show the next game as the next game is larger above the table.

---

<div class="post-metadata">

**Author:** ![markh](https://community.modx.com/user_avatar/community.modx.com/markh/32/36_2.png) [@markh](https://community.modx.com/u/markh)\
**Post date:** [April 26, 2024, 3:33pm UTC](https://community.modx.com/t/offset-not-working/7723/2 "2024-04-26T15:33:24Z")

</div>

Offset needs a limit, use something like `&limit=`9999` `.

---

<div class="post-metadata">

**Author:** ![coconghaile](https://community.modx.com/user_avatar/community.modx.com/coconghaile/32/136_2.png) [@coconghaile](https://community.modx.com/u/coconghaile)\
**Post date:** [April 26, 2024, 3:44pm UTC](https://community.modx.com/t/offset-not-working/7723/3 "2024-04-26T15:44:54Z")

</div>

Thanks a million Mark

---

<div class="post-metadata">

**Author:** ![system](https://community.modx.com/user_avatar/community.modx.com/system/32/2_2.png) [@system](https://community.modx.com/u/system)\
**Post date:** [April 28, 2024, 3:45pm UTC](https://community.modx.com/t/offset-not-working/7723/4 "2024-04-28T15:45:37Z")

</div>

Closed on April 28, 2024, 3:45pm UTC

This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.
