Page MenuHomeIn-Portal Phabricator

D206.id499.diff
No OneTemporary

File Metadata

Created
Mon, Oct 6, 6:19 AM

D206.id499.diff

Index: core/units/promo_blocks/promo_blocks_config.php
===================================================================
--- core/units/promo_blocks/promo_blocks_config.php
+++ core/units/promo_blocks/promo_blocks_config.php
@@ -57,6 +57,7 @@
'BlockId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0),
'PromoBlockGroupId' => Array (
'type' => 'int',
+ 'formatter' => 'kOptionsFormatter',
'options_sql' => 'SELECT %s FROM ' . TABLE_PREFIX . 'PromoBlockGroups ORDER BY Title', 'option_title_field' => 'Title', 'option_key_field' => 'PromoBlockGroupId',
'not_null' => 1, 'required' => 1, 'default' => 0,
),

Event Timeline