Skip to content
Snippets Groups Projects
Commit 84939645 authored by Yana De Pauw's avatar Yana De Pauw
Browse files

55990: Fix param name

parent 4411c312
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@
<div class="row">
<div class="col-12">
<ds-input-suggestions #f id="search-form"
[suggestions]="(CollectionSearchResults | async)"
[suggestions]="(collectionSearchResults | async)"
[placeholder]="'item.move.search.placeholder'| translate"
[action]="getCurrentUrl()"
[name]="'item-move'"
......
......@@ -110,7 +110,7 @@ describe('ItemMoveComponent', () => {
}
];
comp.CollectionSearchResults.subscribe((value) => {
comp.collectionSearchResults.subscribe((value) => {
expect(value).toEqual(expected);
}
);
......
......@@ -28,7 +28,7 @@ export class ItemMoveComponent implements OnInit {
inheritPolicies = false;
itemRD$: Observable<RemoteData<Item>>;
CollectionSearchResults: Observable<any[]> = Observable.of([]);
collectionSearchResults: Observable<any[]> = Observable.of([]);
selectedCollection: string;
selectedCollectionId: string;
......@@ -64,7 +64,7 @@ export class ItemMoveComponent implements OnInit {
* TODO: When the API support it, only fetch collections where user has ADD rights to.
*/
loadSuggestions(query): void {
this.CollectionSearchResults = this.searchService.search(new SearchOptions({
this.collectionSearchResults = this.searchService.search(new SearchOptions({
dsoType: DSpaceObjectType.COLLECTION,
query: query
})).first().pipe(
......
......@@ -30,7 +30,7 @@
| translate}}</a>
</div>
</div>
<ds-input-suggestions [suggestions]="(CollectionSearchResults | async)"
<ds-input-suggestions [suggestions]="(filterSearchResults | async)"
[placeholder]="'search.filters.filter.' + filterConfig.name + '.placeholder'| translate"
[action]="getCurrentUrl()"
[name]="filterConfig.paramName"
......
......@@ -32,7 +32,7 @@
| translate}}</a>
</div>
</div>
<ds-input-suggestions [suggestions]="(CollectionSearchResults | async)"
<ds-input-suggestions [suggestions]="(filterSearchResults | async)"
[placeholder]="'search.filters.filter.' + filterConfig.name + '.placeholder'| translate"
[action]="getCurrentUrl()"
[name]="filterConfig.paramName"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment