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

Đã đóng
#20,143 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
57/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
php
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
PHP
Star
3.6k
Fork
712
Merge trung bình
13 giờ 8 phút
Pull request đã merge (30 ngày)
320

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của craftcms/cms

Tất cả issue của craftcms/cms

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.