add a small warning and an explanation
This commit is contained in:
parent
0238ef0f6e
commit
4b35d44abc
5
Code.gs
5
Code.gs
|
@ -206,6 +206,11 @@ function filtration(data, interns, adults, children) {
|
||||||
var output = [];
|
var output = [];
|
||||||
|
|
||||||
for(datum of data) {
|
for(datum of data) {
|
||||||
|
if(datum === undefined) {
|
||||||
|
SpreadsheetApp.getUi().alert("Couldn't find an intern -- skipping. See the manual for more information.")
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if(interns && datum.age == "Intern") {
|
if(interns && datum.age == "Intern") {
|
||||||
output.push(datum);
|
output.push(datum);
|
||||||
} else if(adults && datum.age == "Adult") {
|
} else if(adults && datum.age == "Adult") {
|
||||||
|
|
|
@ -97,6 +97,15 @@ You should see some spreadsheets being magically created, and when you look at t
|
||||||
|
|
||||||
Whenever you make a change to a sheet with an asterisk in front of it, the sheets with the greater than symbol do not synchronize automatically. You need to repopulate them manually by clicking on the "Regenerate Reporting Spreadsheets" button.
|
Whenever you make a change to a sheet with an asterisk in front of it, the sheets with the greater than symbol do not synchronize automatically. You need to repopulate them manually by clicking on the "Regenerate Reporting Spreadsheets" button.
|
||||||
|
|
||||||
|
### I've got an error message
|
||||||
|
|
||||||
|
Below is a series of error messages you may get when using this software, and an explanation of what might have gone wrong.
|
||||||
|
|
||||||
|
**Couldn't find an intern -- skipping**
|
||||||
|
|
||||||
|
This means that the software couldn't find an intern listed in one of the individuals present within the Site Information sheet.
|
||||||
|
Make sure that each person who you reference in the "Those Present" column actually exist in the "Intern Data" sheet, and this error goes away.
|
||||||
|
|
||||||
## Questions?
|
## Questions?
|
||||||
|
|
||||||
If you have any questions, email [me](mailto:ryan@beepboop.systems).
|
If you have any questions, email [me](mailto:ryan@beepboop.systems).
|
Loading…
Reference in New Issue