Skip to content

Commit

Permalink
primeng: fixes search record components
Browse files Browse the repository at this point in the history
Co-Authored-by: Johnny Mariéthoz <[email protected]>
Co-Authored-by: Bertrand Zuchuat <[email protected]>
  • Loading branch information
jma and Garfield-fr committed Dec 4, 2024
1 parent c317fef commit 29a37e1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 3 additions & 1 deletion projects/rero/ng-core/src/lib/record/record.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,9 @@ import { SearchAutocompleteComponent } from './search-autocomplete/search-autoco
NgCoreFormlyRemoteAutocompleteModule,
NgCoreFormlySelectModule,
MenuSortComponent,
NgCoreFormlyTreeSelectModule
NgCoreFormlyTreeSelectModule,
SearchTabsComponent,
PaginatorComponent
],
providers: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ <h5>{{ availableTypes[0].label | translate }}</h5>
<div class="grid">
<ng-core-list-filters
class="col-12"
[aggregations]="aggregations"
[aggregationsFilters]="aggregationsFilters"
[searchFilters]="searchFilters"
(remove)="removeFilter($event)"
Expand All @@ -95,7 +94,7 @@ <h5>{{ availableTypes[0].label | translate }}</h5>
<p-dropdown
class="w-full"
placeholder=""
[optionValue]="path"
[optionValue]="'path'"
[options]="searchFields"
[showClear]="true"
(onChange)="searchInField($event)"
Expand All @@ -106,7 +105,7 @@ <h5>{{ availableTypes[0].label | translate }}</h5>
<ng-core-search-filters
[searchFilters]="searchFilters"
[config]="config"
[query]="query"
[query]="q"
styleClassSection="my-2"
(onChange)="onChangeSearchFilter($event)"
/>
Expand Down
2 changes: 2 additions & 0 deletions projects/rero/ng-core/src/public-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,10 @@ export * from './lib/record/record.service';
export * from './lib/record/search-autocomplete/search-autocomplete.component';
export * from './lib/record/search/aggregation/service/bucket-name.service';
export * from './lib/record/search/record-search-page.component';
export * from './lib/record/search/search-tabs/search-tabs.component';
export * from './lib/record/search/menu-sort/menu-sort.component';
export * from './lib/record/search/record-search.component';
export * from './lib/record/search/paginator/paginator.component';
export * from './lib/record/search/aggregation/list-filters/list-filters.component';
export * from './lib/record/search/aggregation/aggregation.component';
export * from './lib/record/search/record-search.service';
Expand Down

0 comments on commit 29a37e1

Please sign in to comment.