? 428196-sort_order_1.patch ? 466250-1_big_display_options_0.patch ? 570558_views_default_cache_index_localize.patch ? 675264-freeform-list.patch ? 723286-2_views-render_trim_text.patch ? 730810-1_authmap_0.patch ? doc ? patches ? sort_order_1.patch ? translate_link.patch ? views-528838.patch ? views-619642-argument_language.patch ? views-argument-fix.patch ? views-argument_default-tid_0_0.patch ? views-export-api-version_0.patch ? views-field-alias.patch ? views-freeform-list-675264-14.patch ? views-link_path-maxlength.patch ? views-node-path-analysis.patch ? views-node_language_0.patch ? views_750130.patch ? views_argument_20100227.patch ? views_argument_20100227.patch.1 ? views_classes-1.patch ? views_display_20100227.patch ? views_handler_field.inc__1.patch ? views_handler_field_user_link_edit.inc_.patch ? viewsall ? modules/search/views-view-row-search.tpl.php ? modules/user/views_handler_field_is_online.inc Index: views.install =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/views/views.install,v retrieving revision 1.50.2.1 diff -u -p -r1.50.2.1 views.install --- views.install 11 Mar 2010 00:19:21 -0000 1.50.2.1 +++ views.install 24 Mar 2010 19:04:48 -0000 @@ -184,6 +184,7 @@ function views_schema_6000() { 'description' => 'The order in which this display is loaded.', ), 'display_options' => array( + // Type corrected in update 6009 'type' => 'blob', 'description' => 'A serialized array of options for this display; it contains options that are generally only pertinent to that display plugin type.', 'serialize' => TRUE, @@ -336,7 +337,7 @@ function views_schema_6005() { } function views_update_6005() { $ret = array(); - + $new_field = array( 'type' => 'varchar', 'length' => '64', @@ -360,7 +361,7 @@ function views_schema_6006() { } function views_update_6006() { $ret = array(); - + $table = drupal_get_schema_unprocessed('system', 'cache'); $table['description'] = 'Cache table for views to store pre-rendered queries, results, and display output.'; $table['fields']['serialized']['default'] = 1; @@ -383,3 +384,48 @@ function views_update_6007() { } return $ret; } + +/** + * Add the primary key to views_display table. + */ +function views_schema_6008() { + $schema = views_schema(__FUNCTION__); + $schema['views_display']['primary key'] = array('vid', 'id'); + return $schema; +} + +/** + * Add the primary key to the views_display table. + */ +function views_update_6008() { + $ret = array(); + + db_add_primary_key($ret, 'views_display', array('vid', 'id')); + + return $ret; +} + +/** + * Enlarge the views_display.display_options field to accomodate a larger set + * of configurations (e. g. fields, filters, etc.) on a display. + */ +function views_schema_6009() { + $schema = views_schema(__FUNCTION__); + $schema['views_display']['fields']['display_options'] = array( + 'type' => 'text', + 'size' => 'big', + 'description' => 'A serialized array of options for this display; it contains options that are generally only pertinent to that display plugin type.', + 'serialize' => TRUE, + 'serialized default' => 'a:0:{}', + ); + return $schema; +} + +function views_update_6009() { + $ret = array(); + + $schema = views_schema_6009(); + db_change_field($ret, 'views_display', 'display_options', 'display_options', $schema['views_display']['fields']['display_options']); + + return $ret; +} \ No newline at end of file