Project

General

Profile

« Previous | Next » 

Revision 56496

Registrations Admin Page: on 'items per page' change, page resets to 0 now

View differences:

registration.component.html
36 36
                <div class="uk-margin">
37 37
                  <label class="uk-form-label uk-text-right" for="pageSize">Items per page: </label>
38 38
                  <div class="uk-form-controls">
39
                    <select class="uk-select" id="pageSize" (change)="handleChange()" formControlName="pageSize">
39
                    <select class="uk-select" id="pageSize" (change)="handleChangeAndResetPage()" formControlName="pageSize">
40 40
                      <option value="10">10</option>
41 41
                      <option value="25" selected>25</option>
42 42
                      <option value="50">50</option>
......
49 49
                  <label class="uk-form-label uk-text-right" for="sortBy">Sort by: </label>
50 50
                  <div class="uk-form-controls">
51 51
                    <select class="uk-select" id="sortBy" (change)="handleChange()" formControlName="requestSortBy">
52
                      <option value="registrationdate" selected>date</option>
53
                      <option value="officialname">name</option>
52
                      <option value="registrationdate" selected>Date</option>
53
                      <option value="officialname">Name</option>
54 54
                    </select>
55 55
                  </div>
56 56
                </div>

Also available in: Unified diff