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

Aperta
#20,388 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@brandonkelly ci sta già lavorando.

Dal 5/11/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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
Lingua principale
PHP
Stelle
3.6k
Fork
712
Merge medio
13h 13m
PR unite (30g)
372

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di craftcms/cms

Tutte le issue di craftcms/cms

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.