Skip to content

Commit

Permalink
Fix: Specify model and 'url' key in form options
Browse files Browse the repository at this point in the history
Otherwise, searching in Contact page gets blackholed.

Closes #510
  • Loading branch information
rchavik committed Jul 24, 2014
1 parent 9c1e46a commit 30a8460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Nodes/View/Elements/search.ctp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
echo $this->Form->create(null, array('admin' => false, 'plugin' => 'nodes', 'controller' => 'nodes', 'action' => 'search'));
echo $this->Form->create('Node', array('url' => array('admin' => false, 'plugin' => 'nodes', 'controller' => 'nodes', 'action' => 'search')));
$this->Form->unlockField('q');
echo $this->Form->input('q', array(
'label' => false,
Expand Down

0 comments on commit 30a8460

Please sign in to comment.