Skip to content

Commit

Permalink
Fix legacy query execution method
Browse files Browse the repository at this point in the history
  • Loading branch information
AugustMiller committed Nov 8, 2024
1 parent 06d55cd commit 3c8af6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/5.x/reference/twig/filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -1568,8 +1568,8 @@ This can be useful to prevent typographic [widows and orphans](https://en.wikipe
Returns an array without the specified item(s).

```twig
{% set entries = craft.entries().section('articles').limit(3).find %}
{% set firstEntry = entries[0] %}
{% set entries = craft.entries().section('articles').limit(3).all() %}
{% set firstEntry = entries|first %}
{% set remainingEntries = entries|without(firstEntry) %}
```

Expand Down

0 comments on commit 3c8af6f

Please sign in to comment.