Author: molly.white5
Description:
The code that I took from EventLogging only allows arrays to contain one type of value. The "pages" property should allow for something like the following:
[2, [5,8]]
This would indicate that the section included pages 2, 5, 6, 7, 8.
Right now the validation either allows only numbers, which would require the JSON to be formatted:
[2, 5, 6, 7, 8]
or only arrays, which would require the JSON to be formatted:
[[2], [5,8]]
Both of these seem a little silly, so it seems like it would be worth adjusting the code to allow for more than one type of value, and, ideally, pushing the changes back to EventLogging as well.
Version: unspecified
Severity: normal