decaporg / decaporg/decap-cms

Published content not listed in their collection UI

Open
#7,148 6 comments 0 reactions 0 assignees View on GitHub
status: stale type: bug
Dominant language
JavaScript
Stars
19.4k
Forks
3.1k
Avg merge
1d 14h
Merged PRs (30d)
9

Description

**Describe the bug**

I've published some content, they are visible on the live site, but the collection UI tells me there is no content yet.

**To Reproduce**

See configuration.

**Expected behavior**

I guess the UI should list the content.

**Screenshots**

![CleanShot 2024-03-16 at 20 41 34@2x](https://github.com/decaporg/decap-cms/assets/78213/ea84c9ff-6210-49c0-850e-9bb34678397b)

**Applicable Versions:**

- Decap CMS version: 3.1.3
- Git provider: GitHub (private repo)
- Browser version: doesn't work in any browser
- Node.JS version: 21

**CMS configuration**

Here's my collection config:

```yaml
collections:
- name: 'blog'
label: 'Blog'
label_singular: 'blog'
folder: 'src/collections/blog'
path: '{{year}}/{{month}}/{{day}}/{{slug}}'
slug: '{{slug}}/index'
summary: '{{title}} ({{day}}/{{month}}/{{year}})'
create: true
media_folder: ''
public_folder: ''
view_groups:
- label: Année
field: date
pattern: \d{4}
fields:
- label: 'Titre'
name: 'title'
widget: 'string'
tagname: 'h1'
- label: 'Date'
name: 'date'
widget: 'datetime'
- label: 'Image de couverture'
name: 'image'
widget: 'image'
media_folder: ''
required: false
tagname: ''
- label: 'Texte'
name: 'body'
widget: 'markdown'
hint: 'Contenu du billet'
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.