|
|
|
@ -20,6 +20,7 @@ import {HelperService} from "../openaireLibrary/utils/helper/helper.service";
|
|
|
|
|
import {Filter} from "../openaireLibrary/searchPages/searchUtils/searchHelperClasses.class";
|
|
|
|
|
import {properties} from "../../environments/environment";
|
|
|
|
|
import {Numbers, NumbersComponent} from "../openaireLibrary/sharedComponents/numbers/numbers.component";
|
|
|
|
|
import {StringUtils} from "../openaireLibrary/utils/string-utils.class";
|
|
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
|
selector: 'home',
|
|
|
|
@ -146,7 +147,24 @@ export class HomeComponent {
|
|
|
|
|
};
|
|
|
|
|
public pageContents = null;
|
|
|
|
|
@ViewChild("numbersComponent", { static: true }) numbersComponent: NumbersComponent;
|
|
|
|
|
|
|
|
|
|
specialSubjects = [
|
|
|
|
|
{value: "Physics::Atomic Physics", label: "Atomic Physics"},
|
|
|
|
|
{value: "Mathematics::Combinatorics", label: "Mathematics Combinatorics"},
|
|
|
|
|
{value: "lcsh:Medicine", label: "Medicine"},
|
|
|
|
|
{value: "lcsh:Science", label: "Science"},
|
|
|
|
|
{value: "lcsh:Biology (General)", label: "Biology"},
|
|
|
|
|
{value: "lcsh:Chemistry", label: "Chemistry"},
|
|
|
|
|
{value: "lcsh:Engineering (General). Civil engineering (General)", label: "Civil engineering"},
|
|
|
|
|
{value: "lcsh:Technology", label: "Technology"},
|
|
|
|
|
/* "Mathematics::Combinatorics",
|
|
|
|
|
"lcsh:Medicine",
|
|
|
|
|
"lcsh:Science",
|
|
|
|
|
"lcsh:Biology (General)",
|
|
|
|
|
"lcsh:Chemistry",
|
|
|
|
|
"lcsh:Engineering (General). Civil engineering (General)",
|
|
|
|
|
"lcsh:Technology"*/
|
|
|
|
|
];
|
|
|
|
|
stringUtils = new StringUtils();
|
|
|
|
|
constructor(
|
|
|
|
|
private route: ActivatedRoute,
|
|
|
|
|
private _router: Router,
|
|
|
|
@ -285,4 +303,7 @@ export class HomeComponent {
|
|
|
|
|
}
|
|
|
|
|
this._router.navigate([url], {queryParams: this.routerHelper.createQueryParams(parameterNames, parameterValues)});
|
|
|
|
|
}
|
|
|
|
|
getSubjectParameter(param){
|
|
|
|
|
return {'f0':'resultsubject','fv0':'"' +(param)+'"'};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|