Fix pagination
This commit is contained in:
parent
219e2f29fd
commit
114571e3a3
|
@ -1 +1 @@
|
||||||
server.contextPath=/StudentDirectory
|
server.contextPath=/
|
|
@ -17,6 +17,7 @@ app.controller('StudentCtrl', ['$scope','StudentService', function ($scope,Stude
|
||||||
paginationPageSizes: [5, 10, 20],
|
paginationPageSizes: [5, 10, 20],
|
||||||
paginationPageSize: paginationOptions.pageSize,
|
paginationPageSize: paginationOptions.pageSize,
|
||||||
enableColumnMenus:false,
|
enableColumnMenus:false,
|
||||||
|
useExternalPagination: true,
|
||||||
columnDefs: [
|
columnDefs: [
|
||||||
{ name: 'studentId' },
|
{ name: 'studentId' },
|
||||||
{ name: 'name' },
|
{ name: 'name' },
|
||||||
|
|
|
@ -22,7 +22,7 @@ import io.restassured.response.Response;
|
||||||
public class StudentServiceTest{
|
public class StudentServiceTest{
|
||||||
|
|
||||||
private String getURL() {
|
private String getURL() {
|
||||||
return "/StudentDirectory/student/get";
|
return "/student/get";
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in New Issue