Skip to content

Commit

Permalink
Fixed bug where CRUD pagination does not work anymore. closes #1492
Browse files Browse the repository at this point in the history
  • Loading branch information
nadar committed Sep 12, 2017
1 parent 09461ab commit eb5e5d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ All notable changes to this project will be documented in this file. This projec
- [#1461](https://github.com/luyadev/luya/issues/1461) Admin Search Panel does not auto focus the input and allows you to toggle the search groups.

### Fixed

- [#1492](https://github.com/luyadev/luya/issues/1492) Fixed bug where CRUD pagination does not work anymore.
- [#1464](https://github.com/luyadev/luya/issues/1464) Adjusted icon positions for dropdown list selection
- [#1460](https://github.com/luyadev/luya/issues/1460) Fixed issue with login autofill and floating labels
- [#1471](https://github.com/luyadev/luya/issues/1471) Added word-break: break-all to block-front; Could lead to other problems but couldn't see any so far
Expand Down
4 changes: 2 additions & 2 deletions modules/admin/src/views/ngrest/crud.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
<a class="page-link" ng-click="pagerPrevClick()"><i class="material-icons">keyboard_arrow_left</i></a>
</li>
<li class="page-item" ng-repeat="pageId in pager.pages" ng-class="{'active': pageId == pager.currentPage}">
<a class="page-link" ng-click="realoadCrudList(pageId)">{{pageId}}</a>
<a class="page-link" ng-click="reloadCrudList(pageId)">{{pageId}}</a>
</li>
<li class="page-item page-item-icon" ng-class="{'disabled' : pager.currentPage == pager.pageCount}">
<a class="page-link" ng-click="pagerNextClick();"><i class="material-icons">keyboard_arrow_right</i></a>
Expand All @@ -196,7 +196,7 @@
{{pager.currentPage}}
</button>
<div class="dropdown-menu" aria-labelledby="btnGroupDrop1" ng-class="{'show': openDropdown}">
<button class="dropdown-item" ng-repeat="pageId in pager.pages" ng-show="pager.currentPage != pageId" ng-click="realoadCrudList(pageId); openDropdown = false;">{{pageId}}</button>
<button class="dropdown-item" ng-repeat="pageId in pager.pages" ng-show="pager.currentPage != pageId" ng-click="reloadCrudList(pageId); openDropdown = false;">{{pageId}}</button>
</div>
</div>
</li>
Expand Down

0 comments on commit eb5e5d6

Please sign in to comment.