I've unchecked all the options under "Select data to display below each result." but they're all still displayed.

Comments

jlaurin’s picture

Same thing in 7.x-1.7

dkingofpa’s picture

Sub

mollybee’s picture

Title: Results page display data seems ignored? » Subscribing
mollybee’s picture

Title: Subscribing » Results page display data seems ignored?

I've unchecked all the options under "Select data to display below each result." but they're all still displayed.

pavlosdan’s picture

Custom search seems to be expecting that users will have the permission to use the advanced search from the core search module (I could be wrong though).

At custom_search.module line 107 (in the custom_search_form_alter function), the module checks if $form['advanced'] is set. If it is then it sets the display options. In the case where the user does not have the permission to use the advanced search, $form['advanced'] does not seem to be set so the module never applies the changes.

A workaround without hacking the module seems to be to give the 'use advanced search' permission to the user but that does not seem appropriate as for my case for the search page I just wanted to hide the basic search form.

Please do correct me if I am wrong and/or if I missed something else :)

tgh123’s picture

Just found that my template is incompatible maybee this is your problem as well see http://drupal.org/node/1412730
try testing your settings using the bartik theme

heddn’s picture

Status: Active » Fixed

I'm taking some liberty but a support request from over a year ago is probably
fixed or irrelevant. If you disagree, please reopen and provide more
details.

Status: Fixed » Closed (fixed)

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