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

[survey] added check for Active flag on candidate in query #3384

Merged

Conversation

PapillonMcGill
Copy link
Contributor

@PapillonMcGill PapillonMcGill commented Jan 8, 2018

This pull request add a check for Active candidate in query.

See also: redmine task 13667

@PapillonMcGill PapillonMcGill added Category: Bug PR or issue that aims to report or fix a bug [branch] bugfix labels Jan 8, 2018
@@ -49,7 +49,8 @@ class NDB_Menu_Filter_Survey_Accounts extends NDB_Menu_Filter
// the base query
$query = " FROM participant_accounts p
JOIN session s ON (p.SessionID=s.ID)
JOIN candidate c ON (c.CandID=s.CandID)";
JOIN candidate c ON (c.CandID=s.CandID)
WHERE c.Active = 'Y'";
Copy link
Collaborator

Choose a reason for hiding this comment

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

shouldn't this also have s.Active='Y'?

Copy link
Contributor Author

@PapillonMcGill PapillonMcGill Jan 9, 2018

Choose a reason for hiding this comment

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

@LeighMac , could you comment on Dave's comment

Copy link
Contributor

Choose a reason for hiding this comment

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

@PapillonMcGill Hi Melanie, I don't think Leigh is working wil GitHub. you should email her.

@PapillonMcGill PapillonMcGill changed the title added check for Active flag on candidate in query [survey] added check for Active flag on candidate in query Jan 10, 2018
@driusan driusan merged commit 5c330e6 into aces:bugfix Feb 5, 2018
@ridz1208 ridz1208 added this to the PRE 20.0.0 milestone Sep 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Bug PR or issue that aims to report or fix a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants