diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a286b81d..88fbc09ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,11 +21,12 @@ the detailed section referring to by linking pull requests or issues. #### Fixed - Removed 404-causing login polling from broker UI - - Migrated transfer history page to api wrapper - Migrated contract definition page to api wrapper - Migrated policy definition page to api wrapper - Migrated asset page to api wrapper +- Broker: Fixed popularity not logged when clicking on a data offer. +- Broker: Fixed missing name in legal notice #### Removed diff --git a/src/app/routes/broker-ui/catalog-page/catalog-page/catalog-page.component.ts b/src/app/routes/broker-ui/catalog-page/catalog-page/catalog-page.component.ts index 4e8426fc3..0e59ec5cc 100644 --- a/src/app/routes/broker-ui/catalog-page/catalog-page/catalog-page.component.ts +++ b/src/app/routes/broker-ui/catalog-page/catalog-page/catalog-page.component.ts @@ -7,6 +7,7 @@ import {Store} from '@ngxs/store'; import {CatalogPageSortingItem} from '@sovity.de/broker-server-client'; import {AssetDetailDialogDataService} from '../../../../component-library/catalog/asset-detail-dialog/asset-detail-dialog-data.service'; import {AssetDetailDialogService} from '../../../../component-library/catalog/asset-detail-dialog/asset-detail-dialog.service'; +import {BrokerServerApiService} from '../../../../core/services/api/broker-server-api.service'; import {FilterValueSelectItem} from '../filter-value-select/filter-value-select-item'; import {FilterValueSelectVisibleState} from '../filter-value-select/filter-value-select-visible-state'; import {CatalogActiveFilterPill} from '../state/catalog-active-filter-pill'; @@ -34,6 +35,7 @@ export class CatalogPageComponent implements OnInit, OnDestroy { constructor( private assetDetailDialogDataService: AssetDetailDialogDataService, private assetDetailDialogService: AssetDetailDialogService, + private brokerServerApiService: BrokerServerApiService, private store: Store, ) {} @@ -83,6 +85,14 @@ export class CatalogPageComponent implements OnInit, OnDestroy { const data = this.assetDetailDialogDataService.brokerDataOfferDetails(dataOffer); + // Call the detail dialog endpoint so the view count is increased + this.brokerServerApiService + .dataOfferDetailPage({ + assetId: dataOffer.assetId, + connectorEndpoint: dataOffer.connectorEndpoint, + }) + .subscribe(); + this.assetDetailDialogService .open(data, this.ngOnDestroy$) .pipe(filter((it) => !!it?.refreshList)) diff --git a/src/app/routes/broker-ui/legal-notice-page/legal-notice-page/legal-notice-page.component.html b/src/app/routes/broker-ui/legal-notice-page/legal-notice-page/legal-notice-page.component.html index 0224594fd..67af40fb3 100644 --- a/src/app/routes/broker-ui/legal-notice-page/legal-notice-page/legal-notice-page.component.html +++ b/src/app/routes/broker-ui/legal-notice-page/legal-notice-page/legal-notice-page.component.html @@ -14,6 +14,8 @@
Represented by:
Manfred Rauhmeier, Michael Schäfer
+ Represented by:
Manfred Rauhmeier, Michael Schäfer, Dr. Tobias Miethaner
+
Registered with
Munich Local Court
under HRB 267003
VAT identification number
DE 345960882