Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[6.x]: Element index view mode applies to every source instead of the selected one

Aperta
#20,143 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
57/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
php
Ambito
backend

Direzione di ricerca

Start by tracing how Assets stores and retrieves the element index view mode, then compare it with the per-source sort and column settings mentioned in the issue. Reproduce the steps with two volumes and check whether each retains its own view mode after switching away and back. Done when the selected view mode persists independently for each source of the same element type.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug repo:cms
What happened?

Steps to reproduce

  1. Go to Assets, select a volume, and switch to thumbs view.
  2. Select a different volume and switch it to table view.
  3. Go back to the first volume.

Expected behavior

The first volume is still in thumbs view. Each source keeps its own view mode, the way sort and columns are kept per source.

Actual behavior

The first volume opens in table view. Changing the view mode in any source changes it for all sources of that element type.

Craft CMS version

CMS 6.x-dev (bc2379442d)

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
710
Merge medio
12h 19m
PR unite (30g)
293

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.