Commits
Marie Verdonck authored 38387d1a0f0
160 160 | /** |
161 161 | * Updates the current page with searchOptions and display items linked to the given value |
162 162 | * @param searchOptions Options to narrow down your search: |
163 163 | * { metadata: string |
164 164 | * pagination: PaginationComponentOptions, |
165 165 | * sort: SortOptions, |
166 166 | * scope: string } |
167 167 | * @param value The value of the browse-entry to display items for |
168 168 | */ |
169 169 | updatePageWithItems(searchOptions: BrowseEntrySearchOptions, value: string) { |
170 - | console.log('updatePAge', searchOptions); |
171 170 | this.items$ = this.browseService.getBrowseItemsFor(value, searchOptions); |
172 171 | } |
173 172 | |
174 173 | /** |
175 174 | * Update the parent Community or Collection using their scope |
176 175 | * @param scope The UUID of the Community or Collection to fetch |
177 176 | */ |
178 177 | updateParent(scope: string) { |
179 178 | if (hasValue(scope)) { |
180 179 | this.parent$ = this.dsoService.findById(scope).pipe( |