Make fields sortable

This commit is contained in:
mattbk
2015-10-06 20:24:22 -05:00
parent efaf626b6c
commit 04b925a3d1

View File

@ -107,9 +107,10 @@ foreach($result as $row) {
'help' => t('The first attribute selection for the ordered product.'), 'help' => t('The first attribute selection for the ordered product.'),
'group' => t('Ubercart order product'), 'group' => t('Ubercart order product'),
'field' => array( 'field' => array(
'table' => 'uc_order_products', 'table' => 'uc_order_products',
'real field' => 'data', 'real field' => 'data',
'handler' => 'uc_views_attribute_handler_field_order_product_attribute01', 'handler' => 'uc_views_attribute_handler_field_order_product_attribute01',
'click sortable' => TRUE,
), ),
); );
@ -122,6 +123,7 @@ foreach($result as $row) {
'table' => 'uc_order_products', 'table' => 'uc_order_products',
'real field' => 'data', 'real field' => 'data',
'handler' => 'uc_views_attribute_handler_field_order_product_attribute02', 'handler' => 'uc_views_attribute_handler_field_order_product_attribute02',
'click sortable' => TRUE,
), ),
); );
@ -134,6 +136,7 @@ foreach($result as $row) {
'table' => 'uc_order_products', 'table' => 'uc_order_products',
'real field' => 'data', 'real field' => 'data',
'handler' => 'uc_views_attribute_handler_field_order_product_attribute03', 'handler' => 'uc_views_attribute_handler_field_order_product_attribute03',
'click sortable' => TRUE,
), ),
); );
@ -146,6 +149,7 @@ foreach($result as $row) {
'table' => 'uc_order_products', 'table' => 'uc_order_products',
'real field' => 'data', 'real field' => 'data',
'handler' => 'uc_views_attribute_handler_field_order_product_attribute04', 'handler' => 'uc_views_attribute_handler_field_order_product_attribute04',
'click sortable' => TRUE,
), ),
); );
@ -158,6 +162,7 @@ foreach($result as $row) {
'table' => 'uc_order_products', 'table' => 'uc_order_products',
'real field' => 'data', 'real field' => 'data',
'handler' => 'uc_views_attribute_handler_field_order_product_attribute05', 'handler' => 'uc_views_attribute_handler_field_order_product_attribute05',
'click sortable' => TRUE,
), ),
); );
@ -170,6 +175,7 @@ foreach($result as $row) {
'table' => 'uc_order_products', 'table' => 'uc_order_products',
'real field' => 'data', 'real field' => 'data',
'handler' => 'uc_views_attribute_handler_field_order_product_attribute06', 'handler' => 'uc_views_attribute_handler_field_order_product_attribute06',
'click sortable' => TRUE,
), ),
); );
@ -182,6 +188,7 @@ foreach($result as $row) {
'table' => 'uc_order_products', 'table' => 'uc_order_products',
'real field' => 'data', 'real field' => 'data',
'handler' => 'uc_views_attribute_handler_field_order_product_attribute07', 'handler' => 'uc_views_attribute_handler_field_order_product_attribute07',
'click sortable' => TRUE,
), ),
); );