Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/master order application list #1063

Merged
merged 8 commits into from
Mar 15, 2021

Conversation

bpsushi
Copy link
Collaborator

@bpsushi bpsushi commented Mar 9, 2021

Related to: #866

@bpsushi bpsushi requested a review from pbn4 March 9, 2021 14:57
@exygy-dev exygy-dev temporarily deployed to bloom-refere-feature-ma-ya6vhk March 9, 2021 14:58 Inactive
@bpsushi bpsushi linked an issue Mar 9, 2021 that may be closed by this pull request
Add fix for linter issues
@exygy-dev exygy-dev temporarily deployed to bloom-refere-feature-ma-z96guc March 9, 2021 15:40 Inactive
@netlify
Copy link

netlify bot commented Mar 9, 2021

Deploy preview for clever-edison-cd22c1 ready!

Built with commit 1868f93

https://deploy-preview-1063--clever-edison-cd22c1.netlify.app

@exygy-dev exygy-dev temporarily deployed to bloom-refere-feature-ma-guvr9a March 9, 2021 16:29 Inactive
@exygy-dev exygy-dev temporarily deployed to bloom-refere-feature-ma-mgjbh8 March 9, 2021 16:32 Inactive
@exygy-dev exygy-dev temporarily deployed to bloom-refere-feature-ma-mjcgaf March 9, 2021 16:46 Inactive
@IsOptional({ groups: [ValidationsGroupsEnum.default] })
@IsString({ groups: [ValidationsGroupsEnum.default] })
@IsIn(Object.keys(OrderParamEnum), { groups: [ValidationsGroupsEnum.default] })
@Transform((value: string | undefined) => (value ? value : OrderParamEnum.DESC), {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is toClassOnly required here since this is only ever used for input?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

import { PaginationQueryParams } from "../shared/dto/pagination.dto"
import { ValidationsGroupsEnum } from "../shared/validations-groups.enum"
import { defaultValidationPipeOptions } from "../shared/default-validation-pipe-options"
import { applicationPreferenceExtraModels } from "./entities/application-preferences.entity"
import { ApplicationCsvExporter } from "../csv/application-csv-exporter"

enum OrderByParamEnum {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So far we have not been adding Enum suffix to the enums

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

Removed toClassOnly from Transform decorator options

Removed Enum suffix from OrderByParamEnum and OrderParamEnum
@exygy-dev exygy-dev temporarily deployed to bloom-refere-feature-ma-qsj3ch March 12, 2021 11:15 Inactive
@pbn4 pbn4 merged commit cf229a3 into master Mar 15, 2021
YazeedLoonat added a commit to YazeedLoonat/bloom that referenced this pull request May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor applications table to support sorting by the backend
3 participants