In 6.x-1.0-rc1 version of this module there is no possibility to use "Value" field in Views module "Filter" section.

If you need this functionality you have to replace the rows in user_stats.views.inc file started at row 38.

// Value field.
  $data['user_stats_values']['value'] = array(
    'title' => t('Value'),
    'help' => t('Statistic value'),
    'field' => array(
      'handler' => 'views_handler_field_numeric',
      'click sortable' => TRUE,
    ),
    'sort' => array(
      'handler' => 'views_handler_sort',
    ),
  );

with this

// Value field.
  $data['user_stats_values']['value'] = array(
    'title' => t('Value'),
    'help' => t('Statistic value'),
    'field' => array(
      'handler' => 'views_handler_field_numeric',
      'click sortable' => TRUE,
    ),
    'filter' => array(
    'handler' => 'views_handler_filter_numeric',
    ),
    'sort' => array(
      'handler' => 'views_handler_sort',
    ),
  );

Comments

Liam McDermott’s picture

Title: User Stats and Views » Allow using Value as a filter in Views
Version: 6.x-1.0-rc1 » 6.x-1.x-dev
Status: Active » Fixed

Fixed, thanks!

Liam McDermott’s picture

Marked #512520: Views2 filter for post count a duplicate of this.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

shaunpv’s picture

Status: Closed (fixed) » Active

Ok this showed me the view but i cant get users to show how should i set it for if a user has loged in one time show... i tried equal to or greater than 1 ...