Views Upgrade and subsequent patch

Well, to my chagrin (AGAIN) I have had to patch the Views module after a routine upgrade. This time was better than the last but it still wasn’t fun.

You have to patch the views.aggregator.inc file. you can read earlier posts about this to get some of the additional details.

this is before:

// ———————————————————————-
// Aggregator category feed table

$data[‘aggregator_category_feed’][‘table’][‘join’] = array(
‘aggregator_item’ => array(
‘left_field’ => ‘fid’,
‘field’ => ‘fid’,
),
);

// ———————————————————————-
// Aggregator category table

$data[‘aggregator_category’][‘table’][‘group’] = t(‘Aggregator category’);

$data[‘aggregator_category’][‘table’][‘join’] = array(
‘aggregator_item’ => array(
// ‘left_table’ => ‘aggregator_category_feed’,
‘left_table’ => ‘aggregator_category_item’,
‘left_field’ => ‘cid’,
‘field’ => ‘cid’,
),
);

And this is after:

// ———————————————————————-
// Aggregator category feed table

$data[‘aggregator_category_item’][‘table’][‘join’] = array(
‘aggregator_item’ => array(
‘left_field’ => ‘iid’,
‘field’ => ‘iid’,
),
);
//
//
//

//
// ———————————————————————-
// Aggregator category table

$data[‘aggregator_category’][‘table’][‘group’] = t(‘Aggregator category’);

$data[‘aggregator_category’][‘table’][‘join’] = array(
‘aggregator_item’ => array(
// ‘left_table’ => ‘aggregator_category_feed’,
‘left_table’ => ‘aggregator_category_item’,
‘left_field’ => ‘cid’,
‘field’ => ‘cid’,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: