Use table alias, when creating calculated fields for catalog items

Components

Labels

Description

In the "\kCatDBEventHandler::prepareObject" method change this code:

$object->addCalculatedField('CachedNavbar', 'l' . $this->Application->GetVar('m_lang') . '_CachedNavbar');

into

$object->addCalculatedField('CachedNavbar', TABLE_PREFIX . 'Categories.l'.$this->Application->GetVar('m_lang') . '_CachedNavbar');

Context Information

None

Additional information (do not use)

None

Activity

Alex January 4, 2021 at 11:00 AM

alex closed D362: - Use table alias, when creating calculated fields for catalog items.
alex updated the diff for D362: - Use table alias, when creating calculated fields for catalog items.

Alex January 4, 2021 at 9:01 AM

alex added "INP-1765" JIRA issue(s) to rINP16659: Fixes - Use table alias, when creating calculated fields for catalog….

Alex January 4, 2021 at 9:01 AM

alex committed rINP16659: Fixes - Use table alias, when creating calculated fields for catalog….

Fixes - Use table alias, when creating calculated fields for catalog items

Differential Revision: http://qa.in-portal.org/D362

Alex January 4, 2021 at 9:00 AM

alex closed D362: - Use table alias, when creating calculated fields for catalog items.
alex updated the diff for D362: - Use table alias, when creating calculated fields for catalog items.

[API] Administrator January 4, 2021 at 9:00 AM

User committed a fix to 5.2.x. Commit Message:

Fixes - Use table alias, when creating calculated fields for catalog items

Differential Revision: http://qa.in-portal.org/D362

Fixed

Details

Priority

Assignee

Reporter

Developer

Reviewer

Change Log Group

Fixed

Change Log Message

Patch Instructions

Patches must be submitted through Phabricator.

Time tracking

1h 30m logged

Story Points

Fix versions

Created May 8, 2019 at 5:19 PM
Updated December 29, 2024 at 8:49 PM
Resolved January 4, 2021 at 9:00 AM