diff options
Diffstat (limited to 'client/src/app/search/advanced-search.model.ts')
-rw-r--r-- | client/src/app/search/advanced-search.model.ts | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/client/src/app/search/advanced-search.model.ts b/client/src/app/search/advanced-search.model.ts index a0f333175..aad436788 100644 --- a/client/src/app/search/advanced-search.model.ts +++ b/client/src/app/search/advanced-search.model.ts | |||
@@ -32,14 +32,14 @@ export class AdvancedSearch { | |||
32 | }) { | 32 | }) { |
33 | if (!options) return | 33 | if (!options) return |
34 | 34 | ||
35 | this.startDate = options.startDate | 35 | this.startDate = options.startDate || undefined |
36 | this.endDate = options.endDate | 36 | this.endDate = options.endDate || undefined |
37 | this.nsfw = options.nsfw | 37 | this.nsfw = options.nsfw || undefined |
38 | this.categoryOneOf = options.categoryOneOf | 38 | this.categoryOneOf = options.categoryOneOf || undefined |
39 | this.licenceOneOf = options.licenceOneOf | 39 | this.licenceOneOf = options.licenceOneOf || undefined |
40 | this.languageOneOf = options.languageOneOf | 40 | this.languageOneOf = options.languageOneOf || undefined |
41 | this.tagsOneOf = options.tagsOneOf | 41 | this.tagsOneOf = options.tagsOneOf || undefined |
42 | this.tagsAllOf = options.tagsAllOf | 42 | this.tagsAllOf = options.tagsAllOf || undefined |
43 | this.durationMin = parseInt(options.durationMin, 10) | 43 | this.durationMin = parseInt(options.durationMin, 10) |
44 | this.durationMax = parseInt(options.durationMax, 10) | 44 | this.durationMax = parseInt(options.durationMax, 10) |
45 | 45 | ||