回答編集履歴

2

createの最初の引数はnullでよかった\.\.\.

2017/01/27 04:49

投稿

popobot
popobot

スコア6586

test CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  ```php
10
10
 
11
- <?= $this->Form->create('search', ['type' => 'get']) ?>
11
+ <?= $this->Form->create(null, ['type' => 'get']) ?>
12
12
 
13
13
  <?= $this->Form->input('title', ['value' => $this->request->query('title')]) ?>
14
14
 

1

追記

2017/01/27 04:49

投稿

popobot
popobot

スコア6586

test CHANGED
@@ -45,3 +45,7 @@
45
45
  ```
46
46
 
47
47
  ※条件指定したqueryをpaginateにセットするだけ
48
+
49
+
50
+
51
+ [マニュアル](https://book.cakephp.org/3.0/ja/controllers/components/pagination.html)を良く読みましょう。すべてのケースについて記載はありませんし、英語しかない場合もありますが、参考になるはずです。