0
工作了数当我使用分页程序排序CakePHP中3它不工作properly.It是显示以下顺序
Sno
1
11
13
18
2
25
3
instead of
Sno
1
2
3
11
13
18
25
我的看法页面代码是
<th> <?= $this->Paginator->sort('Sno') ?></th>
<th><?= $this->Paginator->sort('id','Order ID') ?></th>
<th><?= $this->Paginator->sort('user_id','Cust ID') ?> </th>
<th><?= $this->Paginator->sort('first_name','Cust Name') ?></th>
<th><?= $this->Paginator->sort('created_date','Date') ?></th>
<th><?= $this->Paginator->sort('order_qty','Order Qty') ?></th>
任何机构请帮助我。 在此先感谢。
它正在工作,因为它是一个字符串比较。而在'字符串世界'中,'CUS_11
eballes