Skip to content

Исправил ошибки в работе галереи в редактировании товара - #4

Merged
biz87 merged 5 commits into
modx-pro:draftfrom
createit-ru:draft
Feb 28, 2024
Merged

Исправил ошибки в работе галереи в редактировании товара#4
biz87 merged 5 commits into
modx-pro:draftfrom
createit-ru:draft

Conversation

@createit-ru

Copy link
Copy Markdown
Collaborator

Что оно делает?

Исправил ошибки в работе галереи в редактировании товара: отсутствие перевода, сортировку.

@biz87
biz87 merged commit aed9316 into modx-pro:draft Feb 28, 2024
biz87 pushed a commit that referenced this pull request Apr 20, 2026
#1 TZ shift: DatePicker value is a local Date; toISOString() returned UTC
YYYY-MM-DD, which is a day earlier for TZ east of UTC. Introduce
formatDateForPost() that uses getFullYear/getMonth/getDate.

#4 Class literal: replace the string 'MiniShop3\Model\msCategory' in
OptionsController::getTree() with msCategory::class — IDE-refactor safe and
consistent with modResource::class nearby.

#5 Formatter consistency: CategoryOptionsController::formatRow() now delegates
caption merging to OptionLoaderService::mergeCaptionDescription() — same trim
semantics as the storefront overlay, so a ' ' override no longer shows in the
admin grid while the site still falls back to global.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants