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

JCN 131 fix al selectear por flags #5

Merged
merged 8 commits into from Aug 8, 2019

Conversation

gastonpereyra
Copy link
Contributor

JCN 131-FIX-AL-SELECTEAR-POR-FLAGS
JCN-131 fix al selectear por flags

LINK AL TICKET

https://fizzmod.atlassian.net/browse/JCN-131

DESCRIPCIÓN DEL REQUERIMIENTO
5.1. Se requiere mejorar los filtros por flags, actualmente no esta tomando el valor obtenido en los filtros, sino que aplica siempre el valor de la flag declarada en el modelo
5.2. Se deberá poder filtrar por alguna flag, en donde el value pueda ser 1 y/o 0. ej WHERE (t.flags & 1) = 1) o WHERE (t.flags & 1) = 0)

DESCRIPCIÓN DE LA SOLUCIÓN
Se arregló el código donde no tomaba el valor correcto.

@jormaechea
Copy link
Member

jormaechea commented Aug 7, 2019

@gastonpereyra ojo que cayó el coverage porque faltaron tests para el código que modificaste..

lib/query-builder-filters.js Outdated Show resolved Hide resolved
tests/query-builder-filters-test.js Show resolved Hide resolved
Copy link
Member

@jormaechea jormaechea left a comment

Choose a reason for hiding this comment

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

👍

@jormaechea jormaechea merged commit 6d1ec03 into master Aug 8, 2019
@gastonpereyra gastonpereyra deleted the JCN-131-fix-al-selectear-por-flags branch August 13, 2019 13:22
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.

None yet

3 participants