Skip to content

Commit 5a9a498

Browse files
authored
fix(datasets): make fullquery request on view mode change (#1992)
## Description Fixes #1990 ## Motivation Probably no other facilities enabled the config for this and it got removed somewhere in the commits ## Fixes: Please provide a list of the fixes implemented in this PR * when "archivable/retrievable" is toggled an effect is triggered that does a fullquery request. ## Changes: Please provide a list of the changes implemented by this PR * changes made ## Tests included - [ ] Included for each change/fix? - [ ] Passing? (Merge will not be approved unless this is checked) ## Documentation - [ ] swagger documentation updated \[required\] - [ ] official documentation updated \[nice-to-have\] ### official documentation info If you have updated the official documentation, please provide PR # and URL of the pages where the updates are included ## Backend version - [ ] Does it require a specific version of the backend - which version of the backend is required: ## Summary by Sourcery Include archive view mode toggling in the dataset effects to trigger a full dataset query when archivable/retrievable view is toggled. Bug Fixes: - Ensure toggling the archivable/retrievable view mode triggers a fullquery request Enhancements: - Add setArchiveViewModeAction to the list of actions that trigger the fullqueryParams effect
2 parents dda01e4 + 93920e3 commit 5a9a498

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/state-management/effects/datasets.effects.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export class DatasetEffects {
5151
fromActions.fetchDatasetsAction,
5252
fromActions.setPublicViewModeAction,
5353
fromActions.sortByColumnAction,
54+
fromActions.setArchiveViewModeAction,
5455
),
5556
concatLatestFrom(() => this.fullqueryParams$),
5657
map(([, params]) => params),

0 commit comments

Comments
 (0)