On my site i use the search form in the block which i use througout the entire site.. so i dont want the form to appear again on the result page..

Patch follows shortly:

CommentFileSizeAuthor
#3 patch_commit_2030a6f810b1.patch1.49 KBbachbach
#2 disable_form-1512086-0.patch1.91 KBAnonymous (not verified)
#1 disable_form-1512086-0.patch1.91 KBAnonymous (not verified)

Comments

Anonymous’s picture

Status: Active » Needs review
StatusFileSize
new1.91 KB
Anonymous’s picture

Status: Needs review » Patch (to be ported)
StatusFileSize
new1.91 KB
bachbach’s picture

StatusFileSize
new1.49 KB

Hi,
got an error with the patch in #2 against the last .dev
here are two corrections
on search_api_pages.admin.inc L373

    '#default_value' => isset($page->options['result_page_search_form']) ? $page->options['result_page_search_form'] : 1,

and on search_api_page.module

$changeable = array('name' => 1, 'description' => 1, 'path' => 1, 'options' => 1, 'enabled' => 1, 'result_page_search_form'=>1);

patch attached

xatoo’s picture

Status: Patch (to be ported) » Fixed

For the sake of documentation. The patch is #2 has been committed in:
http://drupalcode.org/project/search_api_page.git/commit/7870628

Status: Fixed » Closed (fixed)

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