Skip to content

Commit 18c125e

Browse files
authored
Merge pull request #636 from codeRIT/develop
v2.2.3
2 parents 036cac8 + 2ca546a commit 18c125e

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

app/datatables/questionnaire_datatable.rb

-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ def view_columns
1515
checked_in: { source: "Questionnaire.checked_in_at", searchable: false },
1616
boarded_bus: { source: "Questionnaire.boarded_bus_at", searchable: false },
1717
bus_captain: { source: "Questionnaire.is_bus_captain", searchable: false },
18-
country: { source: "Questionnaire.country" },
1918
school: { source: "School.name" },
2019
created_at: { source: "Questionnaire.created_at", searchable: false },
2120
dietary_restrictions: { source: "Questionnaire.dietary_restrictions", searchable: true },
@@ -63,7 +62,6 @@ def data
6362
boarded_bus: yes_no_display(record.boarded_bus?),
6463
bus_captain: bus_captain(record),
6564
school: link_to(record.school.name, manage_school_path(record.school)),
66-
country: record.country,
6765
created_at: record.created_at.present? ? display_datetime(record.created_at) : "",
6866
dietary_restrictions: record.dietary_restrictions,
6967
special_needs: record.special_needs,

app/views/manage/application/_questionnaire_datatable.html.haml

-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
%th{'data-table': { orderable: 'true', data: 'boarded_bus', visible: visible.call('boarded_bus', columns) }} Boarded bus
3636
%th{'data-table': { orderable: 'true', data: 'bus_captain', visible: visible.call('bus_captain', columns) }} Bus captain
3737
%th{'data-table': { orderable: 'true', data: 'school', visible: visible.call('school', columns) }} School
38-
%th{'data-table': { orderable: 'true', data: 'country', visible: visible.call('country', columns) }} Country
3938
%th{'data-table': { orderable: 'true', data: 'created_at', visible: visible.call('created_at', columns) }} Applied on
4039
%th{'data-table': { orderable: 'true', data: 'dietary_restrictions', visible: visible.call('dietary_restrictions', columns) }} Dietary restrictions
4140
%th{'data-table': { orderable: 'true', data: 'special_needs', visible: visible.call('special_needs', columns) }} Special needs
@@ -68,8 +67,6 @@
6867
%th
6968
%th
7069
%input.form-control.form-control-sm{autocomplete: 'off', placeholder: 'School'}
71-
%th
72-
%input.form-control.form-control-sm{autocomplete: 'off', placeholder: 'Country'}
7370
%th
7471
%th
7572
%input.form-control.form-control-sm{autocomplete: 'off', placeholder: 'Dietary restrictions'}

0 commit comments

Comments
 (0)