|
@@ -364,7 +364,7 @@ function search_api_page_insert(array $values) {
|
|
|
*/
|
|
|
function search_api_page_edit($id, array $fields) {
|
|
|
$page = search_api_page_load($id, TRUE);
|
|
|
- $changeable = array('name' => 1, 'description' => 1, 'path' => 1, 'options' => 1, 'enabled' => 1);
|
|
|
+ $changeable = array('name' => 1, 'description' => 1, 'path' => 1, 'options' => 1, 'enabled' => 1, 'result_page_search_form'=>1);
|
|
|
foreach ($fields as $field => $value) {
|
|
|
if (isset($changeable[$field]) || $value === $page->$field) {
|
|
|
$page->$field = $value;
|