Skip to content
This repository was archived by the owner on Apr 20, 2024. It is now read-only.

Commit 965c23e

Browse files
Merge pull request #71 from nodes-vapor/hotfix/wrong-page-in-links
Use correct reference for link url in middle section
2 parents aa01552 + 52aea31 commit 965c23e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Resources/Views/Paginator/offsetpaginator.leaf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515

1616
#for(control in middle) {
17-
<li class="page-item #if(current.page == control.page) { active }"><a href="#(page.url)" class="page-link">#(control.page)</a></li>
17+
<li class="page-item #if(current.page == control.page) { active }"><a href="#(control.url)" class="page-link">#(control.page)</a></li>
1818
}
1919

2020
#if(right) {
@@ -33,4 +33,4 @@
3333
</li>
3434

3535
</ul>
36-
</nav>
36+
</nav>

0 commit comments

Comments
 (0)