fix build.gradle

This commit is contained in:
yeseuljoyceeom 2024-08-02 16:19:57 +09:00
parent 383edc1656
commit bf8ec19b03
2 changed files with 7 additions and 1 deletions

View file

@ -25,6 +25,12 @@ repositories {
mavenCentral() mavenCentral()
} }
bootJar {
archiveBaseName = 'app'
archiveVersion = ''
archiveClassifier = ''
}
ext.webjarsFontawesomeVersion = "4.7.0" ext.webjarsFontawesomeVersion = "4.7.0"
ext.webjarsBootstrapVersion = "5.3.3" ext.webjarsBootstrapVersion = "5.3.3"

View file

@ -46,7 +46,7 @@ class VetController {
// Here we are returning an object of type 'Vets' rather than a collection of Vet // Here we are returning an object of type 'Vets' rather than a collection of Vet
// objects so it is simpler for Object-Xml mapping // objects so it is simpler for Object-Xml mapping
Vets vets = new Vets(); Vets vets = new Vets();
Page<Vet> paginated = findPaginated(page); Page<Vet> paginated = findPaginated(1);
vets.getVetList().addAll(paginated.toList()); vets.getVetList().addAll(paginated.toList());
return addPaginationModel(page, paginated, model); return addPaginationModel(page, paginated, model);
} }