ngx-edu-sharing-metaqs2 0.9.56 → 0.9.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1724,6 +1724,9 @@ class EditorialLinkService {
|
|
|
1724
1724
|
filters['ccm:oeh_publisher_combined'] = [sourceId];
|
|
1725
1725
|
}
|
|
1726
1726
|
else if (sourceType === 'collection') {
|
|
1727
|
+
if (!sourceId.startsWith('http://')) {
|
|
1728
|
+
sourceId = 'http://w3id.org/openeduhub/vocabs/oeh-topics/' + sourceId;
|
|
1729
|
+
}
|
|
1727
1730
|
filters['virtual:collection_id_primary'] = [sourceId];
|
|
1728
1731
|
}
|
|
1729
1732
|
if (!Issues2FilterNames.has(issueId)) {
|
|
@@ -1742,6 +1745,8 @@ class EditorialLinkService {
|
|
|
1742
1745
|
filters[filterName] = filterValue;
|
|
1743
1746
|
const theUrl = this.env.eduSharingPath + '/components/editorial-desk';
|
|
1744
1747
|
const params = new URLSearchParams();
|
|
1748
|
+
// this provides information to the editorial desk that any global group filter needs to be reset for this query
|
|
1749
|
+
params.set('resetGroup', 'true');
|
|
1745
1750
|
params.set('mode', 'audit');
|
|
1746
1751
|
params.set('filters', JSON.stringify(filters));
|
|
1747
1752
|
return `${theUrl}?${params}`;
|