Skip to content

Commit 00107d6

Browse files
committed
bug
1 parent 7d5d198 commit 00107d6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

app/controllers/Consumer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function index()
2020
'search' => $search
2121
];
2222
$consumer = new \pconfig\Consumers();
23-
23+
$this->view->setVar('where', $where);
2424
$info= $consumer->pagelist($where, $page);
2525
if ($this->request->isAjax()) {
2626
return json_encode($info);

app/views/alc/index.volt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565

6666
<div>
6767
{% include '/public/pagination.volt' %}
68-
{% set urldata = ['/alc/index',[]] %}
68+
{% set urldata = ['/alc/index',where] %}
6969
{{ pagination(info,urldata) }}
7070
</div>
7171
</div>

app/views/consumer/index.volt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959

6060
<div>
6161
{% include '/public/pagination.volt' %}
62-
{% set urldata = ['/consumer/index',[]] %}
62+
{% set urldata = ['/consumer/index',where] %}
6363
{{ pagination(info,urldata) }}
6464
</div>
6565
</div>

app/views/project/index.volt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393

9494

9595
{% include '/public/pagination.volt' %}
96-
{% set urldata = ['/consumer/index',[]] %}
96+
{% set urldata = ['/project/index', where ] %}
9797
{{ pagination(info,urldata) }}
9898

9999
</body>

0 commit comments

Comments
 (0)