Skip to content

Commit

Permalink
Merge pull request #1806 from CSCfi/search-pages-2v2
Browse files Browse the repository at this point in the history
search-pages-2v2
  • Loading branch information
ommann authored Mar 14, 2024
2 parents 00c3c2d + ca778dc commit b8ef980
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/portal/services/publication2.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { ActivatedRoute } from '@angular/router';
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';

import { locale } from "../../../environments/locale";
import { AppConfigService } from '@shared/services/app-config-service.service';
const path = suffixer(locale);

/*const PublicationSearchSchema = object({
Expand Down Expand Up @@ -82,7 +83,8 @@ export class Publication2Service {
sanitizer = inject(DomSanitizer);
locale = inject(LOCALE_ID);

searchUrl = 'https://researchfi-api-qa.rahtiapp.fi/portalapi/publication/_search?'
appConfigService = inject(AppConfigService);
searchUrl = this.appConfigService.apiUrl + '/portalapi/publication/_search'

searchParams = new BehaviorSubject<SearchParams>({});

Expand Down

0 comments on commit b8ef980

Please sign in to comment.