@@ -23,11 +23,11 @@ <h3 class="panel-title">Search</h3>
23
23
24
24
< div class ="form-group col-sm-6 ">
25
25
< label for ="firstname " class ="control-label "> Firstname:</ label >
26
- < input id ="firstname " name ="firstname " th:value ="${param. firstname} " type ="text " class ="form-control " autofocus ="autofocus " />
26
+ < input id ="firstname " name ="firstname " th:value ="${param[' firstname'] } " type ="text " class ="form-control " autofocus ="autofocus " />
27
27
</ div >
28
28
< div class ="form-group col-sm-6 ">
29
29
< label for ="lastname " class ="control-label "> Lastname:</ label >
30
- < input id ="lastname " name ="lastname " th:value ="${param. lastname} " type ="text " class ="form-control " autofocus ="autofocus " />
30
+ < input id ="lastname " name ="lastname " th:value ="${param[' lastname'] } " type ="text " class ="form-control " autofocus ="autofocus " />
31
31
</ div >
32
32
< div class ="form-group col-sm-6 ">
33
33
< label for ="address.city " class ="control-label "> City:</ label >
@@ -42,7 +42,7 @@ <h3 class="panel-title">Search</h3>
42
42
</ div >
43
43
< div class ="form-group col-sm-6 ">
44
44
< label for ="nationality " class ="control-label "> Nationality:</ label >
45
- < input id ="nationality " name ="nationality " th:value ="${param. nationality} " type ="text "
45
+ < input id ="nationality " name ="nationality " th:value ="${param[' nationality'] } " type ="text "
46
46
class ="form-control " />
47
47
</ div >
48
48
< div class ="form-group col-sm-12 ">
@@ -73,11 +73,11 @@ <h3 class="panel-title">Search</h3>
73
73
< th > City</ th >
74
74
< th > Street</ th >
75
75
< th > Email</ th >
76
- </ tr >
76
+ </ tr >
77
77
</ thead >
78
78
< tbody >
79
79
< tr th:each ="user : ${users} ">
80
- < td th:text ="${users.number * users.size + userStat.index + 1} + '.' "> 1.</ td >
80
+ < td th:text ="${users.pageable.offset + userStat.index + 1} + '.' "> 1.</ td >
81
81
< td class ="text-center ">
82
82
< img th:src ="${user.picture.small} " class ="rounded-circle " />
83
83
</ td >
0 commit comments