Skip to content

Commit

Permalink
[candidate_list] Remove meaningless Latest_Visit_Status column
Browse files Browse the repository at this point in the history
The max alphabetical visit doesn't mean anything.

Resolves #5115, #7093
  • Loading branch information
driusan committed Oct 29, 2021
1 parent 1b5699b commit 2846a34
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
16 changes: 0 additions & 16 deletions modules/candidate_list/jsx/candidateListIndex.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,22 +306,6 @@ class CandidateListIndex extends Component {
},
},
},
{
'label': 'Latest Visit Status',
'show': true,
'filter': {
name: 'latestVisitStatus',
type: 'select',
hide: this.state.hideFilter,
options: {
'Not Started': 'Not Started',
'Screening': 'Screening',
'Visit': 'Visit',
'Approval': 'Approval',
'Recycling Bin': 'Recycling Bin',
},
},
},
{
'label': 'Project',
'show': true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ class CandidateListRowProvisioner extends \LORIS\Data\Provisioners\DBRowProvisio
c.Sex,
COUNT(DISTINCT s.Visit_label) AS VisitCount,
IFNULL(MIN(feedback_bvl_thread.Status+0),0) AS Feedback,
max(s.Current_stage) AS LatestVisitStatus,
p.Name AS RegistrationProject,
c.RegistrationCenterID,
c.RegistrationProjectID
Expand Down
1 change: 0 additions & 1 deletion modules/candidate_list/test/TestPlan.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
[ ] Biological Sex
[ ] Number of visits
[ ] Date of birth
[ ] Latest Visit Status
[ ] Feedback
[Automation Testing]
9. Click "Clear Form" and ensure filters are reset to same state as #2.
Expand Down

0 comments on commit 2846a34

Please # to comment.