Merge branch 'develop' of ssh://ognproject.evlt.uma.es:21987/opengnsys/oggui into develop

oggui/calendar
Alvaro Puente Mella 2024-10-07 15:21:19 +02:00
commit e56d03f281
2 changed files with 6 additions and 2 deletions

View File

@ -142,7 +142,11 @@ export class ClientTabViewComponent {
loadOrganizationalUnits() {
this.loading = true;
this.http.get<any>( `${this.baseUrl}/organizational-units?&page=1&itemsPerPage=10`).subscribe(
this.http.get<any>( `${this.baseUrl}/organizational-units?&page=1&itemsPerPage=10000`, {
params: {
'groups[]': ['organizational-unit:read:collection:short']
}
}).subscribe(
response => {
this.organizationalUnits = response['hydra:member'];
this.loading = false;

View File

@ -8,7 +8,7 @@
<mat-divider class="divider"></mat-divider>
<div class="search-container">
<mat-form-field appearance="fill" class="search-string">
<mat-label i18n="@@searchLabel">Buscar nombre de cliente</mat-label>
<mat-label i18n="@@searchLabel">Buscar nombre de OU</mat-label>
<input matInput placeholder="Búsqueda" [(ngModel)]="filters['name']" (keyup.enter)="search()" i18n-placeholder="@@searchPlaceholder">
<mat-icon matSuffix>search</mat-icon>
<mat-hint i18n="@@searchHint">Pulsar 'enter' para buscar</mat-hint>