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

Collection sorted by date failed to display date when searching #2311

RomainFrancony opened this issue Dec 19, 2018 · 0 comments


None yet
2 participants
Copy link

commented Dec 19, 2018

Describe the bug
When displaying a date in the collection panel, it shows [object Object] after a search.

To Reproduce
Steps to reproduce the behavior:

  1. Create a collection sorted by date
  2. Add the date to the columns displayed in the collection panel
  3. Enable search on this collection (add searchable field in folder.yaml) and update the search index
  4. Search a entry
  5. See the date field column displaying [object Object] instead of the actual date

Expected behavior
The actual date should be displayed

Environment details (please complete the following information):

  • Statamic Version 2.11.3
  • Fresh install
  • OS: macOS 10.12.6
  • Browser: chrome
  • Web Server: Apache
  • PHP Version: 7.1.12
  • Addons installed: none

Additional context
Works normally on non date sorted collection. Probably not working for other content type (page, globals, taxo)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.