Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort modifier causes no output #2450

Closed
wm-simon opened this issue Sep 17, 2020 · 0 comments
Closed

Sort modifier causes no output #2450

wm-simon opened this issue Sep 17, 2020 · 0 comments

Comments

@wm-simon
Copy link

Bug Description

After upgrading from 3.0.0 there is no output for arrays, when you add the sort param. Before this was working. When you remove the param, the entries are shown.

How to Reproduce

history:
  -
    jahr: '1920'
    title: 'title'
    text: 'text'
    is_hidden: false
  -
    jahr: '1925'
    title: 'title'
    text: 'text'
    is_hidden: false
{{ history sort="jahr:desc" }} // no putput
{{ history }} // putput

Extra Detail

Environment

Statamic version: 3.0.9

PHP version: 7.4

Install method (choose one):

  • Fresh install from statamic/statamic
@jackmcdade jackmcdade changed the title Sort param causes no output Sort modifier causes no output Sep 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant