This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit 60549b55 authored by Eduard Frankford's avatar Eduard Frankford
Browse files

language value transport now working to push request

parent a4ba445f
Branches
2 merge requests!50Merge 2021 May Sprint,!47More search fields
......@@ -10,7 +10,7 @@ import { faQuestion } from '@fortawesome/free-solid-svg-icons';
import { Observable } from 'rxjs';
import { debounceTime, distinctUntilChanged, map, switchMap } from 'rxjs/operators';
import { IExerciseType } from 'app/shared/model/exercise.model';
import { IExerciseType, ILanguages } from 'app/shared/model/exercise.model';
interface LooseObject {
[key: string]: any;
......@@ -28,7 +28,7 @@ export class SearchInputComponent implements OnInit, OnDestroy {
public pageSize = 4;
typeValues = Object.keys(IExerciseType);
languageValues = ['en', 'de'];
languageValues = Object.keys(ILanguages);
questionIcon = faQuestion;
public paramGroup: QueryParamGroup;
......
import { IExerciseType } from 'app/shared/model/exercise.model';
import { IExerciseType, ILanguages } from 'app/shared/model/exercise.model';
export class MetadataSearchInput {
public keyword: string;
public programmingLanguage: string;
public naturalLanguage: Array<String>;
public naturalLanguage: Array<ILanguages>;
public license: string;
public author: string;
public types: Array<IExerciseType>;
......
......@@ -82,8 +82,8 @@
"draft": "Entwurf",
"revised": "Überarbeitet",
"unavailable": "Nicht verfügbar",
"en": "Englisch",
"de": "Deutsch"
"ENGLISH": "Englisch",
"GERMAN": "Deutsch"
},
"export": {
"export": "Exportieren",
......
......@@ -82,8 +82,8 @@
"draft": "Draft",
"revised": "Revised",
"unavailable": "Unavailable",
"en": "English",
"de": "German"
"ENGLISH": "English",
"GERMAN": "German"
},
"export": {
"export": "Export",
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment