I have a couple of views running on a development site at http://bhunted.underdesign.co.uk. The site is currently running 5.8 (will update to 5.9 shortly). I am running the following views-related modules:

Bonus: Panels - 5.x-1.2-alpha2
Views - 5.x-1.6
Views FilterBlock - 5.x-1.x-dev
Views fusion - 5.x-1.x-dev

To solve this problem, I have tried uninstalling all the above modules (except Views of course), but this hasn't made any difference.

OK, here's the problem. On the home-page of this site is an exposed set of filters for a View, put there by using Views Filter. If you visit the homepage and just click Submit, the View shows up the three nodes that match (all profile content-types), no problem. But, if you change any of the filters, for example, change Job Location to London (as that should return 1 node), the View returns no nodes whatsoever.

It doesn't matter what you change the filters to, you always get no nodes returned. The View does return the Empty Text message which, I guess, may suggest that the View is working and the problem lies elsewhere (CCK?), I would appreciate comments and feedback on this.

Here is the Export from the View on the home page.

  $view = new stdClass();
  $view->name = 'quick_search';
  $view->description = 'Quick Search facility';
  $view->access = array (
);
  $view->view_args_php = '';
  $view->page = TRUE;
  $view->page_title = 'Quick Search Results';
  $view->page_header = '<?php
  if ($view->use_pager) {
    $output .= theme(\'pager\', \'\', $limit, $view->use_pager);
  }
?>';
  $view->page_header_format = '2';
  $view->page_footer = '';
  $view->page_footer_format = '1';
  $view->page_empty = 'Sorry, there are no profiles that match the criteria that you have selected.';
  $view->page_empty_format = '1';
  $view->page_type = 'panels_twocol';
  $view->url = 'quick_search_results';
  $view->use_pager = TRUE;
  $view->nodes_per_page = '20';
  $view->sort = array (
  );
  $view->argument = array (
  );
  $view->field = array (
  );
  $view->filter = array (
    array (
      'tablename' => 'node_data_field_industry_sector',
      'field' => 'field_industry_sector_value_default',
      'operator' => 'OR',
      'options' => '',
      'value' => array (
  0 => 'Accountancy / Tax',
  1 => 'Actuarial',
  2 => 'Administration / Secretarial / PA',
  3 => 'Animal / Plant / Resources / Veterinary',
  4 => 'Archaeology',
  5 => 'Architecture',
  6 => 'Armed Forces',
  7 => 'Arts / Design / Graphics / Crafts',
  8 => 'Automotive',
  9 => 'Aviation / Aerospace',
  10 => 'Banking / Finance',
  11 => 'Business / Management',
  12 => 'Charity / Non-profit / Voluntary',
  13 => 'Childcare / Youth / Social Worker',
  14 => 'Construction / Property / Surveying',
  15 => 'Customer Services',
  16 => 'E-Business',
  17 => 'Education / Training / Teaching',
  18 => 'Emergency Services / Energy & Utilities',
  19 => 'Environmental / Resources',
  20 => 'Energy & utilities',
  21 => 'Engineering / Electronics',
  22 => 'Entertainment / TV / Theatre / Performing Arts',
  23 => 'Fashion / Design',
  24 => 'Further Study',
  25 => 'Government / Public Sector',
  26 => 'Healthy / Beauty',
  27 => 'Hospitality / Events Management',
  28 => 'Hotel / Catering / Restaurant / Food & Drink',
  29 => 'Human Resources / Personnel',
  30 => 'Information Technology / Internet',
  31 => 'Insurance / Pensions',
  32 => 'International / Overseas',
  33 => 'Journalism',
  34 => 'Legal / Patent Agent',
  35 => 'Logistics',
  36 => 'Management Consulting',
  37 => 'Manufacturing / Industry',
  38 => 'Marketing / Advertising / PR / Market Research',
  39 => 'Media / New Media / Creative',
  40 => 'Medical / Healthcare',
  41 => 'Pharmaceutical Industry',
  42 => 'Publishing',
  43 => 'Recruitment',
  44 => 'Retail / Wholesale / Buying / Merchandising',
  45 => 'Sales / Purchasing',
  46 => 'Science / Research / Technology',
  47 => 'Shipping',
  48 => 'Skilled / Semi-skilled Manual',
  49 => 'Telecommunications',
  50 => 'Transport / Logistics',
  51 => 'Travel / Sport / Leisure / Tourism',
  52 => 'Vetinary',
),
    ),
    array (
      'tablename' => 'node_data_field_job_type_preference',
      'field' => 'field_job_type_preference_value_default',
      'operator' => 'OR',
      'options' => '',
      'value' => array (
  0 => 'Permanent',
  1 => 'Placement Student',
  2 => 'Temporary/Contract/Project',
  3 => 'Seasonal',
),
    ),
    array (
      'tablename' => 'node_data_field_job_location_preference',
      'field' => 'field_job_location_preference_value_default',
      'operator' => 'OR',
      'options' => '',
      'value' => array (
  0 => 'UK - London',
  1 => 'UK - Midlands',
  2 => 'UK - North East',
  3 => 'UK - North West',
  4 => 'UK - Northern Ireland',
  5 => 'UK - Scotland',
  6 => 'UK - South East',
  7 => 'UK - South West',
  8 => 'UK - Wales',
  9 => 'Europe - Ireland',
  10 => 'Europe - East',
  11 => 'Europe - West',
  12 => 'Africa',
  13 => 'America - Central & South',
  14 => 'America - Northern',
  15 => 'Asia',
  16 => 'Australasia',
  17 => 'Middle East',
),
    ),
    array (
      'tablename' => 'node_data_field_degree_subject',
      'field' => 'field_degree_subject_value_default',
      'operator' => 'OR',
      'options' => '',
      'value' => array (
  0 => 'Accountancy and finance',
  1 => 'Architecture and product design',
  2 => 'Art / Design / Fashion',
  3 => 'Biological / Chemical / Environmental / Nature',
  4 => 'Biomedical sciences',
  5 => 'Business / Management / Economics',
  6 => 'Community health',
  7 => 'Computing / IT / Software',
  8 => 'Construction / Infrastructure / Property / Surveying',
  9 => 'Design & Applied Arts',
  10 => 'Design (product and technical)',
  11 => 'Digital Media',
  12 => 'Education',
  13 => 'Engineering - Chemical',
  14 => 'Engineering - Civil',
  15 => 'Engineering - Electronic',
  16 => 'Engineering - Mechanical',
  17 => 'Engineering - Other',
  18 => 'English / Humanities / The Arts',
  19 => 'English for international students',
  20 => 'Environment / Geography',
  21 => 'Fine Art / Photography',
  22 => 'Forensic science',
  23 => 'Health subjects',
  24 => 'History / Society / Politics',
  25 => 'Human resources',
  26 => 'International development',
  27 => 'Languages and linguistics',
  28 => 'Legal studies',
  29 => 'Leisure and lifestyle industries',
  30 => 'Marketing',
  31 => 'Mathematics and statistics',
  32 => 'Media and PR',
  33 => 'Medical / Dental / Veterinary Science',
  34 => 'Pharmacy',
  35 => 'Psychology',
  36 => 'Social science and social work',
  37 => 'Sport',
  38 => 'Teaching and education',
  39 => 'Technology',
  40 => 'Visual Communications',
),
    ),
    array (
      'tablename' => 'node_data_field_degree_grade',
      'field' => 'field_degree_grade_value_default',
      'operator' => 'OR',
      'options' => '',
      'value' => array (
  0 => '1st',
  1 => 'Upper 2nd',
  2 => 'Lower 2nd',
  3 => '3rd',
),
    ),
    array (
      'tablename' => 'node_data_field_predicted__attained',
      'field' => 'field_predicted__attained_value_default',
      'operator' => 'OR',
      'options' => '',
      'value' => array (
  0 => 'Predicted',
  1 => 'Attained',
),
    ),
    array (
      'tablename' => 'node_data_field_post_graduate__further_st',
      'field' => 'field_post_graduate__further_st_value_default',
      'operator' => 'OR',
      'options' => '',
      'value' => array (
  0 => 'None',
  1 => 'MSc – Master of Science',
  2 => 'MBA – Master of Business Administration',
  3 => 'LLM – Master of Law',
  4 => 'MEd – Master of Education',
  5 => 'MDS – Master of Dental Surgery',
  6 => 'MCh/SM – Master of Surgery',
  7 => 'MPhil – Master of Philosophy',
  8 => 'MRes – Master of Research',
  9 => 'MA – Master of Arts',
  10 => 'PhD – Doctor of Philosophy',
  11 => 'EngD – Doctor of Engineering',
  12 => 'DMus – Doctor of Music',
  13 => 'DBA – Doctor of Business Administration',
  14 => 'DClinPsych – Doctor of Psychology',
  15 => 'Studentship',
),
    ),
    array (
      'tablename' => 'node_data_field_in_progress__attained',
      'field' => 'field_in_progress__attained_value_default',
      'operator' => 'OR',
      'options' => '',
      'value' => array (
  0 => 'In Progress',
  1 => 'Attained',
),
    ),
    array (
      'tablename' => 'node',
      'field' => 'type',
      'operator' => 'OR',
      'options' => '',
      'value' => array (
  0 => 'talenteer_profile_basic',
),
    ),
  );
  $view->exposed_filter = array (
    array (
      'tablename' => 'node_data_field_industry_sector',
      'field' => 'field_industry_sector_value_default',
      'label' => 'Industry Sector',
      'optional' => '1',
      'is_default' => '0',
      'operator' => '1',
      'single' => '1',
    ),
    array (
      'tablename' => 'node_data_field_job_type_preference',
      'field' => 'field_job_type_preference_value_default',
      'label' => 'Job Type',
      'optional' => '1',
      'is_default' => '0',
      'operator' => '1',
      'single' => '1',
    ),
    array (
      'tablename' => 'node_data_field_job_location_preference',
      'field' => 'field_job_location_preference_value_default',
      'label' => 'Job Location',
      'optional' => '1',
      'is_default' => '0',
      'operator' => '1',
      'single' => '1',
    ),
    array (
      'tablename' => 'node_data_field_degree_grade',
      'field' => 'field_degree_grade_value_default',
      'label' => 'Degree Grade',
      'optional' => '1',
      'is_default' => '0',
      'operator' => '1',
      'single' => '1',
    ),
    array (
      'tablename' => 'node_data_field_degree_subject',
      'field' => 'field_degree_subject_value_default',
      'label' => 'Degree Subject',
      'optional' => '1',
      'is_default' => '0',
      'operator' => '1',
      'single' => '1',
    ),
    array (
      'tablename' => 'node_data_field_predicted__attained',
      'field' => 'field_predicted__attained_value_default',
      'label' => 'Predicted / Attained',
      'optional' => '1',
      'is_default' => '0',
      'operator' => '1',
      'single' => '1',
    ),
    array (
      'tablename' => 'node_data_field_post_graduate__further_st',
      'field' => 'field_post_graduate__further_st_value_default',
      'label' => 'Post-Grad Qualification',
      'optional' => '1',
      'is_default' => '0',
      'operator' => '1',
      'single' => '1',
    ),
    array (
      'tablename' => 'node_data_field_in_progress__attained',
      'field' => 'field_in_progress__attained_value_default',
      'label' => 'In Progress / Attained',
      'optional' => '1',
      'is_default' => '0',
      'operator' => '1',
      'single' => '1',
    ),
  );
  $view->requires = array(node_data_field_industry_sector, node_data_field_job_type_preference, node_data_field_job_location_preference, node_data_field_degree_subject, node_data_field_degree_grade, node_data_field_predicted__attained, node_data_field_post_graduate__further_st, node_data_field_in_progress__attained, node);
  $views[$view->name] = $view;

What am I missing? Why is the View blank?! Please help me as we need to get this site completed and launched.

Regards

Patrick

Comments

Patrick Nelson’s picture

Having had no responses, I know that sometimes it takes a while before you do receive a response on the Drupal forums, but I thought it worth saying that if I have missed something really obvious, I'd really appreciate it if someone could point it out...

troym559’s picture

Hello, I'm having the same issue. I have used prvious versions of views and was able to acomplish setting up seach pages without any problem. But with version 5.1.6 my exposed filters searches are coming up blank.
Please Help.
Thanks

domesticat’s picture

Status: Active » Closed (fixed)

Performing a mass closing of all issues over 180 days old. Please reopen if needed.