[6.x]: Custom entry source with a single-section condition shows another source's entries

Abierto
#20,388 1 comentario 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@brandonkelly ya está trabajando en esto.

Desde el 5/11/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

bug
What happened?
Steps to reproduce
  1. Have two Single sections, e.g. Home and Site settings.
  2. Go to Entries → Customize sources and add a custom source with the condition Section is any of Site settings. Save.
  3. Click the new source in the sidebar.
Expected behavior

Only the Site settings entry is listed.

Actual behavior

Both singles are listed, the same as the Singles source. The sidebar link goes to /admin/content/{page}/siteSettings instead of ?source=custom:….

Notes: If the Singles source is disabled, the custom source shows the entries of the page's first remaining source instead. Opening ?source=custom:<uid> directly shows the right entries.

Craft CMS version

CMS 6.x-dev (6ae3ad770e)

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions
Lenguaje dominante
PHP
Estrellas
3.6k
Forks
712
Merge medio
13 h 13 min
PR fusionados (30 d)
372

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de craftcms/cms

Todos los issues de craftcms/cms

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.