I just created a view and when sorting on the aggregator timestamp value doesn't work. It only works when the Sort Criteria is exposed.

Is this a known issue?

Comments

damien tournoud’s picture

Project: Drupal core » Views (for Drupal 7)
Version: 7.9 » 7.x-3.x-dev
Component: aggregator.module » aggregator data
Category: bug » support

Triaging.

voipfc’s picture

Triaging? Does this mean that as dev version you are making some tests that may break some features temporarily?

That was a real quick response. I was editing to explain better and I was prevented from saving it. Were you notified on your iPhone?

damien tournoud’s picture

You opened this issue in the Drupal core queue, for an issue that seems to be a Views issue. I just reassigned your issue in the proper queue so that one of the Views maintainers can look into it.

voipfc’s picture

Category: support » bug
voipfc’s picture

Version: 7.x-3.x-dev » 7.x-3.0-rc3
dawehner’s picture

Status: Active » Postponed (maintainer needs more info)

This works as expected for me, here is an export of the view i tested with


$view = new view;
$view->name = 'aggregator';
$view->description = '';
$view->tag = 'default';
$view->base_table = 'aggregator_item';
$view->human_name = 'aggregator';
$view->core = 7;
$view->api_version = '3.0';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

/* Display: Master */
$handler = $view->new_display('default', 'Master', 'default');
$handler->display->display_options['title'] = 'aggregator';
$handler->display->display_options['access']['type'] = 'none';
$handler->display->display_options['cache']['type'] = 'none';
$handler->display->display_options['query']['type'] = 'views_query';
$handler->display->display_options['query']['options']['query_comment'] = FALSE;
$handler->display->display_options['exposed_form']['type'] = 'basic';
$handler->display->display_options['pager']['type'] = 'full';
$handler->display->display_options['pager']['options']['items_per_page'] = '10';
$handler->display->display_options['style_plugin'] = 'default';
$handler->display->display_options['row_plugin'] = 'fields';
/* Field: Aggregator: Item ID */
$handler->display->display_options['fields']['iid']['id'] = 'iid';
$handler->display->display_options['fields']['iid']['table'] = 'aggregator_item';
$handler->display->display_options['fields']['iid']['field'] = 'iid';
/* Sort criterion: Aggregator: Timestamp */
$handler->display->display_options['sorts']['timestamp']['id'] = 'timestamp';
$handler->display->display_options['sorts']['timestamp']['table'] = 'aggregator_item';
$handler->display->display_options['sorts']['timestamp']['field'] = 'timestamp';
$handler->display->display_options['sorts']['timestamp']['order'] = 'DESC';
$handler->display->display_options['sorts']['timestamp']['exposed'] = TRUE;
$handler->display->display_options['sorts']['timestamp']['expose']['label'] = 'Timestamp';

/* Display: Page */
$handler = $view->new_display('page', 'Page', 'page');
$handler->display->display_options['path'] = 'aggregator';

Maybe you could show yours so it's possible to reproduce the bug you reported.

tim.plunkett’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

If this is still an issue, please reopen with clear steps to reproduce.