Page MenuHomeIn-Portal Phabricator
  • Changed Files
  • branches/5.2.x/core/kernel/db/dblist.php

INP-1761 - Account for LeftJoinOptimizer during grid total calculation
ClosedPublic

Authored by alex on Mar 21 2019, 4:58 AM.

Details

Test Plan
  • in IDE:
    1. open core/admin_templates/catalog_tab.tpl file for editing
    2. add totals_render_as="grid_total_row" attribute to the <inp2:m_RenderElement name="grid_js" ... tag call
    3. save changes
    4. open core/units/categories/categories_config.php file for editing
    5. add 'ThumbPath' => Array ('filter_block' => 'grid_like_filter', 'totals' => 'SUM'), to the Fields array of Default grid
    6. save changes
  • in Admin Console
    1. login to Admin Console
    2. go to Website & ContentStructure & Data section
    3. click on Sections tab
    4. confirm, that:
      • categories/sections grid is displayed correctly
      • there is new column for ThumbPath and it has 0 as total value below it

Diff Detail

Repository
rINP In-Portal
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

alex created this revision.Mar 21 2019, 4:58 AM
alex requested review of this revision.Mar 21 2019, 4:58 AM
alex added a project: Restricted Project.Mar 21 2019, 4:58 AM
erik accepted this revision.Mar 27 2019, 5:16 AM
This revision is now accepted and ready to land.Mar 27 2019, 5:16 AM
This revision was automatically updated to reflect the committed changes.